function imageRollover(imgsrc,activepage){
	//activepage=true mean image is active page no changing image
	var img=document[imgsrc].src;
	
	if (img.substr(img.length-7,3)=="out"){
		document[imgsrc].src=img.replace("out.gif","over.gif");
	} else if (activepage){
		//no rollover on active page
	} else {
		document[imgsrc].src=img.replace("over.gif","out.gif");				
	}					
}
function printPage(){
	if (window.print){
		window.print();
	} else {
		alert("Your browser does not have the ability to print directly from this link.\nPrint the page by selecting print from your browser's menu bar.");
	}
	return false;
}

function loadRetailer(mapid,sn){
	alert("onclick fires function loadRetailer with mapid=" + mapid + ",sn=" + sn);
}




function callExternalInterface(categoryID) {
	
    getMovieName("mapLoader").callCategoryHighlight(categoryID); 
    }
	
/* This utility function resolves the string movieName to a Flash object reference based on browser type. */
function getMovieName(movieName) {
    if (navigator.appName.indexOf("Microsoft") != -1) {
    return window[movieName]
    }
    else {
    return document[movieName]
    }
}


function callExternalInterface2(mapid,suitename) {
    getMovieName("mapLoader").callSuiteHighlight(suitename,mapid); 
}
   
/* This utility function resolves the string movieName to a Flash object reference based on browser type. */
function getMovieName(movieName) {
    if (navigator.appName.indexOf("Microsoft") != -1) {
    return window[movieName]
	}else {
    return document[movieName]
    }
}

	
function callExternalInterface3(statusName) {
	//alert('before maploader call-' + statusName);
    getMovieName("mapLoader").callStatusHighlight(statusName); 
	//alert('after maploader call-' + statusName);
}
    