// JavaScript Documentvar localRoot = "";function embedSite(){	document.write('<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,0,0" width="100%" height="100%" id="fla_v5" align="middle">');	document.write('<param name="allowScriptAccess" value="sameDomain" />');	document.write('<param name="movie" value="fla_v5.swf" />');	document.write('<param name="quality" value="high" />');	document.write('<param name="bgcolor" value="#E6E6E6" />');	document.write('<embed src="fla_v5.swf" quality="high" bgcolor="#E6E6E6" width="100%" height="100%" name="fla_v5" align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />');	document.write('</object>');}function popWindow( url, width, height, windowName ){    //get center coords    var left = (screen.width - width) / 2;    var top = (screen.height - height) / 2;    return window.open(url, windowName, 'toolbar=0,scrollbars=0,location=0,statusbar=0,menubar=0,resizable=0,width=' + width + ',height=' + height + ',left=' + left + ',top=' + top);}function popScrollingWindow(url, width, height, windowName){    //get center coords    var left = (screen.width - width) / 2;    var top = (screen.height - height) / 2;    return window.open(url, windowName, 'toolbar=0,scrollbars=1,location=0,statusbar=0,menubar=0,resizable=0,width=' + width + ',height=' + height + ',left=' + left + ',top=' + top);}function popScrollingWindow2(url, width, height, windowName){    //get center coords    var left = (screen.width - width) / 2;    var top = (screen.height - height) / 2;    return window.open(url, windowName, 'toolbar=0,scrollbars=1,location=0,statusbar=0,menubar=0,resizable=1,width=' + width + ',height=' + height + ',left=' + left + ',top=' + top);}function openWindow(url){    var rand = "_blank";    return window.open(url,rand,"directories=yes,location=yes,menubar=yes,scrollbars=yes,status=yes,toolbar=yes,resizable=yes");}function downloadFile(theFile){    popWindow(localRoot + "download.html?theFile="+theFile, 400, 200, "downloadWindow");}function popClip(clip, player, size){    player = player.toUpperCase();    size = size.toLowerCase();    popWindow(localRoot + 'clips/clips.html?movie='+clip+'&size='+player+size, 648, 488, "trailer");}function popShirts(nom,width,height){    popWindow(localRoot + "shirtpops/shirt"+nom+".html", width, height, "Shirts");}function popSleeves(nom,width,height){    popWindow(localRoot + "sleevepops/sleeve"+nom+".html", width, height, "Sleeves");}function popIcons(){    popWindow(localRoot + "aim/aim.html", 550, 560, "aim_icons");}function popScreensaver(){	track("screensaver+download");	popWindow(localRoot + "screensaver.html", 550, 560, "screensaver");}
