/*
'++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
'source code copyright (c) bep, inc.  All rights reserved.+
'++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
*/
function imageRollover(imgsrc,activepage){
	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); 
    }
	
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); 
}
   


	
function callExternalInterface3(statusName) {
    getMovieName("mapLoader").callStatusHighlight(statusName); 

}

//function swapImageSrc(imageId, assetPath) {
//    document.getElementById(imageId).src = assetPath;
//}
    