isamap = new Object();
isamap[0] = "_ov"
isamap[1] = "_ot"
isamap[2] = "_dn"

if (document.images) { 
	
	fullPath = "http://measurebyrfms.com/";
//	fullPath = "";

	isimages = new Object();
	isimages.try_ov = new Image();
	isimages.try_ov.src = fullPath + "images/try_ov.jpg";
	
	isimages.try_ot = new Image();
	isimages.try_ot.src = fullPath + "images/try_up.jpg";
	
	isimages.try_dn = new Image();
	isimages.try_dn.src = fullPath + "images/try_ov.jpg";
	
	isimages.buy_ov = new Image();
	isimages.buy_ov.src = fullPath + "images/buy_ov.jpg";
	
	isimages.buy_ot = new Image();
	isimages.buy_ot.src = fullPath + "images/buy_up.jpg";
	
	isimages.buy_dn = new Image();
	isimages.buy_dn.src = fullPath + "images/buy_ov.jpg";

	isimages.trysm_ov = new Image();
	isimages.trysm_ov.src = fullPath + "images/trialsm_ov.jpg";
	
	isimages.trysm_ot = new Image();
	isimages.trysm_ot.src = fullPath + "images/trialsm_up.jpg";
	
	isimages.trysm_dn = new Image();
	isimages.trysm_dn.src = fullPath + "images/trialsm_ov.jpg";
	
	isimages.buysm_ov = new Image();
	isimages.buysm_ov.src = fullPath + "images/buysm_ov.jpg";
	
	isimages.buysm_ot = new Image();
	isimages.buysm_ot.src = fullPath + "images/buysm_up.jpg";
	
	isimages.buysm_dn = new Image();
	isimages.buysm_dn.src = fullPath + "images/buysm_ov.jpg";

	isimages.contact_ov = new Image();
	isimages.contact_ov.src = fullPath + "images/contact_ov.jpg";
	
	isimages.contact_ot = new Image();
	isimages.contact_ot.src = fullPath + "images/contact_up.jpg";
	
	isimages.contact_dn = new Image();
	isimages.contact_dn.src = fullPath + "images/contact_ov.jpg";

	isimages.feature_ov = new Image();
	isimages.feature_ov.src = fullPath + "images/feature_ov.jpg";
	
	isimages.feature_ot = new Image();
	isimages.feature_ot.src = fullPath + "images/feature_up.jpg";
	
	isimages.feature_dn = new Image();
	isimages.feature_dn.src = fullPath + "images/video_ov.jpg";

	isimages.video_ov = new Image();
	isimages.video_ov.src = fullPath + "images/video_ov.jpg";
	
	isimages.video_ot = new Image();
	isimages.video_ot.src = fullPath + "images/video_up.jpg";
	
	isimages.video_dn = new Image();
	isimages.video_dn.src = fullPath + "images/video_ov.jpg";


	isimages.trysm2_ov = new Image();
	isimages.trysm2_ov.src = fullPath + "images/trialsm_ov.jpg";
	
	isimages.trysm2_ot = new Image();
	isimages.trysm2_ot.src = fullPath + "images/trialsm_up.jpg";
	
	isimages.trysm2_dn = new Image();
	isimages.trysm2_dn.src = fullPath + "images/trialsm_ov.jpg";
	
	isimages.buysm2_ov = new Image();
	isimages.buysm2_ov.src = fullPath + "images/buysm_ov.jpg";
	
	isimages.buysm2_ot = new Image();
	isimages.buysm2_ot.src = fullPath + "images/buysm_up.jpg";
	
	isimages.buysm2_dn = new Image();
	isimages.buysm2_dn.src = fullPath + "images/buysm_ov.jpg";

	isimages.contact2_ov = new Image();
	isimages.contact2_ov.src = fullPath + "images/contact_ov.jpg";
	
	isimages.contact2_ot = new Image();
	isimages.contact2_ot.src = fullPath + "images/contact_up.jpg";
	
	isimages.contact2_dn = new Image();
	isimages.contact2_dn.src = fullPath + "images/contact_ov.jpg";

	isimages.feature2_ov = new Image();
	isimages.feature2_ov.src = fullPath + "images/feature_ov.jpg";
	
	isimages.feature2_ot = new Image();
	isimages.feature2_ot.src = fullPath + "images/feature_up.jpg";
	
	isimages.feature2_dn = new Image();
	isimages.feature2_dn.src = fullPath + "images/feature_ov.jpg";

	isimages.video2_ov = new Image();
	isimages.video2_ov.src = fullPath + "images/video_ov.jpg";
	
	isimages.video2_ot = new Image();
	isimages.video2_ot.src = fullPath + "images/video_up.jpg";
	
	isimages.video2_dn = new Image();
	isimages.video2_dn.src = fullPath + "images/video_ov.jpg";



	isimages.trysm3_ov = new Image();
	isimages.trysm3_ov.src = fullPath + "images/trialsm_ov.jpg";
	
	isimages.trysm3_ot = new Image();
	isimages.trysm3_ot.src = fullPath + "images/trialsm_up.jpg";
	
	isimages.trysm3_dn = new Image();
	isimages.trysm3_dn.src = fullPath + "images/trialsm_ov.jpg";
	
	isimages.buysm3_ov = new Image();
	isimages.buysm3_ov.src = fullPath + "images/buysm_ov.jpg";
	
	isimages.buysm3_ot = new Image();
	isimages.buysm3_ot.src = fullPath + "images/buysm_up.jpg";
	
	isimages.buysm3_dn = new Image();
	isimages.buysm3_dn.src = fullPath + "images/buysm_ov.jpg";

	isimages.contact3_ov = new Image();
	isimages.contact3_ov.src = fullPath + "images/contact_ov.jpg";
	
	isimages.contact3_ot = new Image();
	isimages.contact3_ot.src = fullPath + "images/contact_up.jpg";
	
	isimages.contact3_dn = new Image();
	isimages.contact3_dn.src = fullPath + "images/contact_ov.jpg";

	isimages.feature3_ov = new Image();
	isimages.feature3_ov.src = fullPath + "images/feature_ov.jpg";
	
	isimages.feature3_ot = new Image();
	isimages.feature3_ot.src = fullPath + "images/feature_up.jpg";
	
	isimages.feature3_dn = new Image();
	isimages.feature3_dn.src = fullPath + "images/feature_ov.jpg";
	
	isimages.video3_ov = new Image();
	isimages.video3_ov.src = fullPath + "images/video_ov.jpg";
	
	isimages.video3_ot = new Image();
	isimages.video3_ot.src = fullPath + "images/video_up.jpg";
	
	isimages.video3_dn = new Image();
	isimages.video3_dn.src = fullPath + "images/video_ov.jpg";



	isimages.buysm4_ov = new Image();
	isimages.buysm4_ov.src = fullPath + "images/buysm_ov.jpg";
	
	isimages.buysm4_ot = new Image();
	isimages.buysm4_ot.src = fullPath + "images/buysm_up.jpg";
	
	isimages.buysm4_dn = new Image();
	isimages.buysm4_dn.src = fullPath + "images/buysm_ov.jpg";


	isimages.buysm5_ov = new Image();
	isimages.buysm5_ov.src = fullPath + "images/buysm_ov.jpg";
	
	isimages.buysm5_ot = new Image();
	isimages.buysm5_ot.src = fullPath + "images/buysm_up.jpg";
	
	isimages.buysm5_dn = new Image();
	isimages.buysm5_dn.src = fullPath + "images/buysm_ov.jpg";

	isimages.buysm6_ov = new Image();
	isimages.buysm6_ov.src = fullPath + "images/buysm_ov.jpg";
	
	isimages.buysm6_ot = new Image();
	isimages.buysm6_ot.src = fullPath + "images/buysm_up.jpg";
	
	isimages.buysm6_dn = new Image();
	isimages.buysm6_dn.src = fullPath + "images/buysm_ov.jpg";



	isimages.contact4_ov = new Image();
	isimages.contact4_ov.src = fullPath + "images/contact_ov.jpg";
	
	isimages.contact4_ot = new Image();
	isimages.contact4_ot.src = fullPath + "images/contact_up.jpg";
	
	isimages.contact4_dn = new Image();
	isimages.contact4_dn.src = fullPath + "images/contact_ov.jpg";

	isimages.more1_ov = new Image();
	isimages.more1_ov.src = fullPath + "images/more_ov.jpg";
	
	isimages.more1_ot = new Image();
	isimages.more1_ot.src = fullPath + "images/more_up.jpg";
	
	isimages.more1_dn = new Image();
	isimages.more1_dn.src = fullPath + "images/more_ov.jpg";
	
	isimages.more2_ov = new Image();
	isimages.more2_ov.src = fullPath + "images/more_ov.jpg";
	
	isimages.more2_ot = new Image();
	isimages.more2_ot.src = fullPath + "images/more_up.jpg";
	
	isimages.more2_dn = new Image();
	isimages.more2_dn.src = fullPath + "images/more_ov.jpg";

	isimages.more3_ov = new Image();
	isimages.more3_ov.src = fullPath + "images/more_ov.jpg";
	
	isimages.more3_ot = new Image();
	isimages.more3_ot.src = fullPath + "images/more_up.jpg";
	
	isimages.more3_dn = new Image();
	isimages.more3_dn.src = fullPath + "images/more_ov.jpg";

	isimages.subscribe1_ov = new Image();
	isimages.subscribe1_ov.src = fullPath + "images/subscribe_ov.jpg";
	
	isimages.subscribe1_ot = new Image();
	isimages.subscribe1_ot.src = fullPath + "images/subscribe_up.jpg";
	
	isimages.subscribe1_dn = new Image();
	isimages.subscribe1_dn.src = fullPath + "images/subscribe_ov.jpg";

	isimages.subscribe2_ov = new Image();
	isimages.subscribe2_ov.src = fullPath + "images/subscribe_ov.jpg";
	
	isimages.subscribe2_ot = new Image();
	isimages.subscribe2_ot.src = fullPath + "images/subscribe_up.jpg";
	
	isimages.subscribe2_dn = new Image();
	isimages.subscribe2_dn.src = fullPath + "images/subscribe_ov.jpg";

	isimages.subscribe3_ov = new Image();
	isimages.subscribe3_ov.src = fullPath + "images/subscribe_ov.jpg";
	
	isimages.subscribe3_ot = new Image();
	isimages.subscribe3_ot.src = fullPath + "images/subscribe_up.jpg";
	
	isimages.subscribe3_dn = new Image();
	isimages.subscribe3_dn.src = fullPath + "images/subscribe_ov.jpg";

	isimages.subscribe4_ov = new Image();
	isimages.subscribe4_ov.src = fullPath + "images/subscribe_ov.jpg";
	
	isimages.subscribe4_ot = new Image();
	isimages.subscribe4_ot.src = fullPath + "images/subscribe_up.jpg";
	
	isimages.subscribe4_dn = new Image();
	isimages.subscribe4_dn.src = fullPath + "images/subscribe_ov.jpg";

	isimages.subscribe5_ov = new Image();
	isimages.subscribe5_ov.src = fullPath + "images/subscribe_ov.jpg";
	
	isimages.subscribe5_ot = new Image();
	isimages.subscribe5_ot.src = fullPath + "images/subscribe_up.jpg";
	
	isimages.subscribe5_dn = new Image();
	isimages.subscribe5_dn.src = fullPath + "images/subscribe_ov.jpg";

}

function initPage() 
{
	pageHeight();
}
// image rollover
function isimgact(id, act)
{
	if(document.images) document.images[id].src = eval( "isimages." + id + isamap[act] + ".src");
}


function toggleClass(thisID) {
	objTD = document.getElementById(thisID);
	if (objTD.className == "normal") {
		objTD.className = "tdHover";
		}
	else {
		objTD.className = "normal";
		}
}

function imgPopup(src, w, h) {
 	var win = window.open("", "newwin", "height=655,width=820,toolbar=no,scrollbars=1,resizable=1,menubar=no")
 	var html = '<html><head><title>Measure Screenshot</title><style>body{margin:1}</style></head><body onload="self.focus()"><div align="center"><img src="images/v2008/'+ src +'" width="'+ w +'" height="'+h+'" border="0" />'
 	html += "<form style='margin-top: 20px'><input type='button' value='Close Window' onClick='window.close()'></form></div></body></html>"

 	win.document.open();
 	win.document.write(html);
 	win.document.close();
} 

function openWin(url,name) {
	var winName = name;
	if (!window.winName || winName.closed) {
		winName=window.open(url,winName,"height=400,width=400,toolbar=0,menubar=0,location=0,scrollbars=1,resizable=1");
	}
	else {
	winName.location =  url;
	}  
	if (window.focus) {winName.focus()}
	return false;
	}
