<!-- hide me

//--- Start me up! ---------------------------------------------

function startup() {
	checkRes();
}

//--- div mouseover --------------------------------------------

function Swap(obj, new_style) {
    obj.className = new_style;
}

//--- Mouseovers ------------------------------------------------

var imgloaded = false;

function loadImages() {
// Active images
contacton = new Image();
contacton.src = "images/c_on.jpg";
missionon = new Image();
missionon.src = "images/services_on.jpg";
projectson = new Image();
projectson.src = "images/media_on.jpg";
publicationson = new Image();
publicationson.src = "images/contact_on.jpg";
pfheadingon = new Image();
pfheadingon.src = "images/candw_on.jpg";
link2on = new Image();
link2on.src = "images/csic_on.jpg";
link3on = new Image();
link3on.src = "images/css_on.jpg";
link4on = new Image();
link4on.src = "images/personals_on.jpg";
link5on = new Image();
link5on.src = "images/compac_on.jpg";
link6on = new Image();
link6on.src = "images/wm_on.jpg";
link7on = new Image();
link7on.src = "images/perfect_on.jpg";
pfsampleon = new Image();
pfsampleon.src = "images/intro2.jpg";
big2on = new Image();
big2on.src = "images/intro3.jpg";
big3on = new Image();
big3on.src = "images/intro4.jpg";
big4on = new Image();
big4on.src = "images/intro5.jpg";
big5on = new Image();
big5on.src = "images/intro6.jpg";
big6on = new Image();
big6on.src = "images/intro7.jpg";
big7on = new Image();
big7on.src = "images/intro8.jpg";

// Inactive images
contactoff = new Image();
contactoff.src = "images/c_off.jpg";
missionoff = new Image();
missionoff.src = "images/services_off.jpg";
projectsoff = new Image();
projectsoff.src = "images/media_off.jpg";
publicationsoff = new Image();
publicationsoff.src = "images/contact_off.jpg";
pfheadingoff = new Image();
pfheadingoff.src = "images/candw_off.jpg";
link2off = new Image();
link2off.src = "images/csic_off.jpg";
link3off = new Image();
link3off.src = "images/css_off.jpg";
link4off = new Image();
link4off.src = "images/personals_off.jpg";
link5off = new Image();
link5off.src = "images/compac_off.jpg";
link6off = new Image();
link6off.src = "images/wm_off.jpg";
link7off = new Image();
link7off.src = "images/perfect_off.jpg";
pfsampleoff = new Image();
pfsampleoff.src = "images/trans.gif";


imgloaded = true;
}

function Swap(imgname,state) {
	if ((document.images) && (imgloaded == true))
	    document[imgname].src = eval(imgname + state + ".src");
}
function Swap2(img1name,img2name,state) {
	if ((document.images) && (imgloaded == true)) {
	    document[img1name].src = eval(img1name + state + ".src");
	    document['sample'].src = eval(img2name + state + ".src");
	}
}
loadImages();

//--- Screen resolution ------------------------------------------

function checkRes() {
	if ((screen.width < 780) || (screen.height < 550))
		alert('Please note: Our site is optimized for a Screen Resolution of 800x600 or larger. Please adjust your settings for optimal viewing.');
} 

// end hide -->
