function OpenPopUp(StaticPage,dow,WindowWidth,WindowHeight) {
   scott=window.open(StaticPage,'desc','toolbar=yes,location=yes,directories=no,status=no,menubar=yes,scrollbars=yes,resizable=no,copyhistory=no,width='+WindowWidth+',height='+WindowHeight)
   scott.focus()
}

browserName = navigator.appName;
browserVer = parseInt(navigator.appVersion);

if (browserVer >= 3) version = "n3";
else version = "n2";
if (version == "n3") {
	home_dn = new Image;			home_dn.src = "images/nav/home_dn.gif";
	home_up = new Image; 			home_up.src = "images/nav/home_up.gif";
	services_dn = new Image;		services_dn.src = "images/nav/services_dn.gif";
	services_up = new Image; 		services_up.src = "images/nav/services_up.gif";
	about_dn = new Image;			about_dn.src = "images/nav/about_dn.gif";
	about_up = new Image; 			about_up.src = "images/nav/about_up.gif";
	samples_dn = new Image;			samples_dn.src = "images/nav/samples_dn.gif";
	samples_up = new Image; 		samples_up.src = "images/nav/samples_up.gif";
	contact_dn = new Image;			contact_dn.src = "images/nav/contact_dn.gif";
	contact_up = new Image; 		contact_up.src = "images/nav/contact_up.gif";

	cavu_dn = new Image;			cavu_dn.src = "images/cavu-definition.gif";
	cavu_up = new Image; 			cavu_up.src = "images/cavu-pronunciation.gif";
}

function flip (imageID,objectName) {
	if (version == "n3") {document.images[imageID].src = eval(objectName + ".src");}
}

// JavaScript Document
function showThumbImg(imgPath, size){
	var changeImg = new Image();
	var setLeft = 10;
	var setTop = 160;
	changeImg = document.changeImg;
	changeImg.src=imgPath;
	document.getElementById('thumbTlb').style.display='';
	document.getElementById('thumbTlb').style.left = setLeft+'px';
	document.getElementById('thumbTlb').style.top = setTop+'px';
	document.getElementById('txtSize').value = size;
}
function hideThumbImg(){
	document.getElementById('thumbTlb').style.display='none';
}

function showNameTitle(Name, Title,Title1){	
	var setNameLeft = 0;
	document.getElementById('NameTitle').style.display='';
	document.getElementById('NameTitle').style.left = setNameLeft+'px';
	document.getElementById('Name').innerHTML = '<div class=\"aboutHeadTxtBox\">'+Name+'</div>';
	document.getElementById('Title').innerHTML = '<div class=\"aboutTxtBox\">'+Title+'</div>';
	document.getElementById('Title1').innerHTML = '<div class=\"aboutTxtBox\">'+Title1+'</div>';
}
function hideNameTitle(){	
	document.getElementById('NameTitle').style.display='none';
}

// Homepage random testimonials
var item=new Array()
item[0] = "<p class=\"quote\">\"I had the pleasure of working with Mary for several years. During that time she produced a wide range of marketing materials for our premier medical device. Her work was always exemplary: creative, polished, and timely. I highly recommend her because of her experience, professionalism, and work.\n<p class=\"attribution\">&ndash; Mark Darst Rice\n<br><a href=\"http://www.zimmer.com/z/ctl/lang/en/cntry/US/template/IN/action/1/id/7556/op/global\" target=\"_blank\">Zimmer Spine<\/a>";
item[1] = "<p class=\"quote\">\"Mary writes scripts for our health and safety shows, and consults for our marketing and communications projects.  It is a true pleasure both to know and collaborate with Mary.  Her work is well thought-out and professional &ndash; always creative, dynamic and impactful.  She has made our marketing and communications stronger and more effective &ndash; I would strongly recommend Mary to anyone looking to improve their marketing efforts.\n<p class=\"attribution\">&ndash; Tatiana Sainati\n<br>ECHO Collaborative";

var ceiling = item.length;
var randomnumber=Math.floor(Math.random()*ceiling);
// /Homepage random testimonials

