
browser=navigator.appName;
var b_version=navigator.appVersion;
version=parseFloat(b_version);
/**********************************************************************
 insert flash
 **********************************************************************/
var nocache=new Date().getTime();
var randNum=Math.ceil(Math.random()*98);
function includeFlash(movieName, width, height, vars){
//includeFlash('flash/mymovie', '765', '363', 'image1');
	if(vars){
		urlvars=("?select="+vars+"&nc="+nocache+"&rn="+randNum);
	}else{
		urlvars=("?nc="+nocache+"&rn="+randNum);
	}
	document.write ('<OBJECT classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" '
		+'codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0" WIDTH="'+width+'" HEIGHT="'+height+'" id='+movieName+' ALIGN="">'
		+'<PARAM NAME=movie VALUE="'+movieName+'.swf'+urlvars+'"><PARAM NAME=FlashVars VALUE="movieid='+nocache+'" /><param name="allowScriptAccess" value="always" />'
		+'<PARAM NAME=salign VALUE="LT"><PARAM NAME=quality VALUE=high><PARAM NAME=scale VALUE=noscale><PARAM NAME=wmode VALUE=transparent>'
		+'<EMBED src="'+movieName+'.swf'+urlvars+'" ' 
		+'FlashVars="movieid='+nocache+'" quality=high scale=noscale wmode=transparent  WIDTH="'+width+'" HEIGHT="'+height+'" NAME='+movieName+' SALIGN="LT"'
		+'TYPE="application/x-shockwave-flash" PLUGINSPAGE="http://www.macromedia.com/go/getflashplayer" allowScriptAccess="always"></EMBED></OBJECT>')
}
/**********************************************************************
 cross browser getElementById()
 **********************************************************************/
function returnObjById( id ) { 
    if (document.getElementById) 
        var returnVar = document.getElementById(id); 
    else if (document.all) 
        var returnVar = document.all[id]; 
    else if (document.layers) 
        var returnVar = document.layers[id]; 
    return returnVar; 
}
/**********************************************************************
 popup window function
 **********************************************************************/
function openPopup(name, windowLoc, height, width, scroll){
	var winl = (screen.width - width) / 2;
	var wint = (screen.height - height) / 2;
	if(!scroll){
		scrollbar='yes';
	}else{
		scrollbar='no';
	}
	var winProps = 'toolbar=no,statusbar=no,location=no,scrollbars='+scrollbar+',resizable=yes,width='+width+',height='+height+',top='+wint+',left='+winl;
	window.open(windowLoc, name, winProps);
}
function screenshotPopup(title, dir, imgnum, numimgs, color){
	var winl = 200;
	var wint = 200;
	var height = 500;
	var width = 620;
	var windowName = dir;
	var colorVar = (color) ? "&clr="+color : "";
	var windowLoc = 'screenshot-popup.php?title='+title+'&dir='+dir+'&imgnum='+imgnum+'&numimgs='+numimgs+""+colorVar;
	var winProps = 'toolbar=no,statusbar=no,location=no,scrollbars=no,resizable=yes,width='+width+',height='+height+',top='+wint+',left='+winl;
	window.open(windowLoc, 'screenshot', winProps);
}
/**********************************************************************
 window resizer
 **********************************************************************/
 function resizeWinToTable(tableName){
 	var extraHspace = (checkIt('win')) ? 10:0;
 	var extraVspace = (checkIt('win')) ? 25:-10;
	 if (screen.height>document.getElementById(tableName).offsetHeight){
			window.resizeTo(document.getElementById(tableName).offsetWidth+40+extraHspace,document.getElementById(tableName).offsetHeight+75+extraVspace);
	}else{
			window.resizeTo(screen.width-75,screen.height-75);
	}
}
function checkIt(string)
{
	place = navigator.userAgent.toLowerCase().indexOf(string) + 1;
	return place;
}
/**********************************************************************
 rollover boxes
 **********************************************************************/
function boxColor(boxName,colorScheme){
	document.getElementById(boxName).className = colorScheme;
}
var preloadArr = new Array();;
function prepBox(inst,scheme){
	var foundClass = false;
	var arrLen = preloadArr.length;
	for (var i = 0; i<arrLen; i++){
		if(scheme==preloadArr[i]){
			foundClass=true;
		}
	}
	if(!foundClass){
		preloadArr.push(scheme);
		var PNGpath = 'images/transBox/'+scheme+'OV.png';
		var GIFpath = 'images/transBox/'+scheme+'OV.gif';
		simplePreload(PNGpath,GIFpath);
	}
	boxColor(inst,scheme);
}
// simplePreload( '01.gif', '02.gif' ); 
document.imageArray = new Array();
function simplePreload(){ 
  var args = simplePreload.arguments;
  var arrLen = document.imageArray.length;
  
  for(var i=0; i<args.length; i++){
	//alert(args[i]);
    document.imageArray[i+arrLen] = new Image;
    document.imageArray[i+arrLen].src = args[i];
  }
}
/**********************************************************************
 loads a random background for sections
 **********************************************************************/
var readingAdolBG = new Array();
readingAdolBG = [['DR-adol1',462],['DR-adol2',465],['DR-adol3',463],['DR-adol4',407],['DR-adol5',400],['DR-adol6',455],['DR-adol7',435],['DR-adol8',443],['DR-adol9',465]];
var readingYouthBG = new Array();
readingYouthBG = [['DR-youth1',181],['DR-youth2',221],['DR-youth3',270],['DR-youth4',292],['DR-youth5',256],['DR-youth6',189]];
var readingMSBG = new Array();
readingMSBG = [['DR-MS1',484],['DR-MS2',492]];
var readingActionBG = new Array();
readingActionBG = [['DR-action1',242],['DR-action2',242],['DR-action3',242],['DR-action4',242],['DR-action5',242]];
var readingELLBG = new Array();
readingELLBG = [['DR-ELL1',417],['DR-ELL2',385],['DR-ELL3',470],['DR-ELL4',413],['DR-ELL5',457],['DR-ELL6',470]];
var mathElemBG = new Array();
mathElemBG = [['DM1',278],['DM2',278],['DM3',263],['DM-kid1',366],['DM-kid2',410],['DM-kid3',382]];
var mathBG = new Array();
mathBG = [['DM1',144],['DM2',278],['DM3',263],['DM4',385],['DM5',411],['DM6',395]];
var mathMSBG = new Array();
mathMSBG = [['DM-MS1',484],['DM-MS2',492]];
var mathReadSA = new Array();
mathReadSA = [['DMR-SA1',484],['DMR-SA2',492]];
var mathOlderBG = new Array();
mathOlderBG = [['DM-older1',465],['DM-older2',442],['DM-older3',451],['DM-older4',454]];
var mathELLBG = new Array();
mathELLBG = [['DM-ELL1',417],['DM-ELL2',385],['DM-ELL3',470],['DM-ELL4',413],['DM-ELL5',457],['DM-ELL6',470]];
var edmarkBG = new Array();
edmarkBG = [['ED1',283],['ED2',201],['ED3',275],['ED4',270]];
var learnvillBG = new Array();
learnvillBG = [['LV1',242],['LV2',242],['LV3',242],['LV6',242],['LV7',242],['LV8',242]];
var teacherBG = new Array();
teacherBG = [['LV5',242]];
var earobicsBG = new Array();
earobicsBG = [['Earobics1',298],['Earobics2',256],['Earobics3',332]];
var skillsTutorBG = new Array();
skillsTutorBG = [['ST1',501],['ST2',477],['ST3',489],['ST4',491]];
var classConnectBG = new Array();
classConnectBG = [['CC1',242],['CC2',242],['CC3',242]];
function randomBG(sec){
	var imgArray=readingAdolBG;
	if(sec=="reading"){
		var readingBGArrs = new Array();
		readingBGArrs = [readingAdolBG,readingYouthBG];
		var randArr = Math.floor(Math.random()*readingBGArrs.length);
		imgArray = readingBGArrs[randArr];
	}else if(sec=="readingAdol"){
		imgArray = readingAdolBG;
	}else if(sec=="readingEarly"){
		imgArray = readingYouthBG;
	}else if(sec=="readingAction"){
		imgArray = readingActionBG;
	}else if(sec=="readingMS"){
		imgArray = readingMSBG;
	}else if(sec=="mathReadSA"){
		imgArray = mathReadSA;
	}else if(sec=="readingELL"){
		imgArray = readingELLBG;
	}else if(sec=="math"){
		imgArray = mathBG;
	}else if(sec=="mathOlder"){
		imgArray = mathOlderBG;
	}else if(sec=="mathElem"){
		imgArray = mathElemBG;
	}else if(sec=="mathMS"){
		imgArray = mathMSBG;
	}else if(sec=="mathELL"){
		imgArray = mathELLBG;
	}else if(sec=="edmark"){
		imgArray = edmarkBG;
	}else if(sec=="learnvill"){
		imgArray = learnvillBG;
	}else if(sec=="teacher"){
		imgArray = teacherBG;
	}else if(sec=="earobics"){
		imgArray = earobicsBG;
	}else if(sec=="skillsTutor"){
		imgArray = skillsTutorBG;
	}else if(sec=="classConnect"){
		imgArray = classConnectBG;
	}
	var tmpNum = Math.floor(Math.random()*imgArray.length);
	randBG = imgArray[tmpNum][0];
	randBGH = imgArray[tmpNum][1];
	randBGURL = "images/backgrounds/"+randBG+".jpg";
	document.write('<style type="text/css">.'+randBG+'{background-image:url(images/backgrounds/'+randBG+'.jpg); background-repeat:no-repeat; background-color:#EDEDED;}</style>');
	return randBGURL;
}
var boxImgRandom = new Array();
boxImgRandom = ['backpack','backpack2','backpack3','backpack4','boy-girl','buddy1','buddy2','buddy3','buddy4','buddy5','earobics1','earobics2','edmark1','edmark2','edmark3','edmark4','girl','girl2','jump','lady-teacher','math1','math2','math3','math4','math5','math6','older-girl','pink-shirt','readtoon1','readtoon2','readtoon3','readtoon4','readtoon5','readtoon6'];
SUP_ALLArray = ['SUP-AS','SUP-CRIT','SUP-MATH','SUP-PUB','SUP-READ','SUP-SCI','SUP-SOC','SUP-SPEC','SUP-EL'];
function insertImg(type){
	if(type=="SUP-ALL") type = SUP_ALLArray[Math.floor(Math.random()*SUP_ALLArray.length)];
	switch(type){
		case "action":
		document.write('<img src="images/photos/action'+Math.ceil(Math.random()*8)+'.jpg">');
		break;
		case "support":
		document.write('<img src="images/photos/support'+Math.ceil(Math.random()*2)+'.jpg">');
		break;
		case "teacher":
		document.write('<img src="images/photos/teacher'+Math.ceil(Math.random()*5)+'.jpg">');
		break;
		case "edmark":
		document.write('<img src="images/photos/edmark'+Math.ceil(Math.random()*4)+'.jpg">');
		break;
		case "SUP-AS":
		document.write('<img src="images/sideBoxs/SUP-AS'+Math.ceil(Math.random()*6)+'.jpg">');
		break;
		case "SUP-CRIT":
		document.write('<img src="images/sideBoxs/SUP-CRIT'+Math.ceil(Math.random()*13)+'.jpg">');
		break;
		case "SUP-MATH":
		document.write('<img src="images/sideBoxs/SUP-MATH'+Math.ceil(Math.random()*11)+'.jpg">');
		break;
		case "SUP-PUB":
		document.write('<img src="images/sideBoxs/SUP-PUB'+Math.ceil(Math.random()*18)+'.jpg">');
		break;
		case "SUP-READ":
		document.write('<img src="images/sideBoxs/SUP-READ'+Math.ceil(Math.random()*16)+'.jpg">');
		break;
		case "SUP-SCI":
		document.write('<img src="images/sideBoxs/SUP-SCI'+Math.ceil(Math.random()*7)+'.jpg">');
		break;
		case "SUP-SOC":
		document.write('<img src="images/sideBoxs/SUP-SOC'+Math.ceil(Math.random()*14)+'.jpg">');
		break;
		case "SUP-SPEC":
		document.write('<img src="images/sideBoxs/SUP-SPEC'+Math.ceil(Math.random()*8)+'.jpg">');
		break;
		case "SUP-EL":
		document.write('<img src="images/sideBoxs/SUP-EL'+Math.ceil(Math.random()*8)+'.jpg">');
		break;
		case "random":
		document.write('<img src="images/photos/'+boxImgRandom[Math.floor(Math.random()*boxImgRandom.length)]+'.jpg">');
	}
	
}
function transBoxOV(boxName){
	var boxLink;
	if ((browser=="Microsoft Internet Explorer") && (version<7)){
		boxLink = 'images/transBox/'+boxName+'OV.gif'
	}else{
		boxLink = 'images/transBox/'+boxName+'OV.png'
	}
	return boxLink;
}
function init() {
	if(window.randBG){
		document.getElementById("pagecontent").className = randBG;
		if(document.getElementById("bigRightQuote")){
			document.getElementById("bigRightQuote").style.paddingTop=randBGH;
			//document.write('<style type="text/css">.bigRightQuote{padding-top:'+randBGH+';}</style>');
		}
		//pgBG.style.backgroundImage = "images/backgrounds/"+randBG+".jpg";
		//pgBG.style.backgroundRepeat = "no-repeat";
		//pgBG.style.backgroundColor = "#EDEDED";
	}
}
window.onload = init;
/**********************************************************************
 patch for html nav in IE
 **********************************************************************/
sfHover = function() {
	if(document.getElementById("nav")){
		var sfEls = document.getElementById("nav").getElementsByTagName("LI");
		for (var i=0; i<sfEls.length; i++) {
			sfEls[i].onmouseover=function() {
				this.className+=" sfhover";
			}
			sfEls[i].onmouseout=function() {
				this.className=this.className.replace(new RegExp(" sfhover\\b"), "");
			}
		}
	}
}
if (window.attachEvent) window.attachEvent("onload", sfHover);
/**********************************************************************
 show flash dropdown
 **********************************************************************/
function setFlashHeight(id, newHeight) {
	if((id=='flashhead' && newHeight>106) || id=='flashsub'){
		if(document.all && !document.getElementById) {
 			document.all[id].style.pixelHeight = newHeight;
		}else{
			document.getElementById(id).style.height = newHeight+"px";
		}
	}
}
/**********************************************************************
 setup page for flash to be swapped in
 **********************************************************************/
function flashPagePrep(){
	if(!window.prepped){
		prepped=true;
		document.getElementById('htmlhead').className = 'stripHead';
		document.getElementById('htmlhead').innerHTML = '';
		document.getElementById('htmlhead').style.display = 'none';
		document.getElementById('htmlhead').style.visibility = 'hidden';
		if(document.getElementById('htmlsub')){
			document.getElementById('htmlsub').className = 'stripHead';
			document.getElementById('htmlsub').innerHTML = '';
			document.getElementById('htmlsub').style.display = 'none';
			document.getElementById('htmlsub').style.visibility = 'hidden';
		}
	}
}
/**********************************************************************
 show/hide content with hidden DIVs
 **********************************************************************/
function showContent(id){
	var hide = id+'Hide';
	var show = id+'Show';
	document.getElementById(hide).className = 'panelHid';
	document.getElementById(show).className = 'panelShown';
}

function hideContent(id){
	var hide = id+'Hide';
	var show = id+'Show';
	document.getElementById(hide).className = 'panelShown';
	document.getElementById(show).className = 'panelHid';
}
function arrowDUp(id){
	swapImages(id, 'images/icons/arrow_down.gif');
}
function arrowDOv(id){
	swapImages(id, 'images/icons/arrow_down_o.gif');
}
function arrowUp(id){
	swapImages(id, 'images/icons/arrow_up.gif');
}
function arrowOv(id){
	swapImages(id, 'images/icons/arrow_up_o.gif');
}
/**********************************************************************
 common SWFObjects
 **********************************************************************/
function insertFlashNav(selectedMenu){
	selectedMenu=(selectedMenu==undefined)?"none":selectedMenu;
	s = new String(selectedMenu);
	selectedMenu = s.replace("&","%26");
	var so = new SWFObject("flash/flash_nav.swf", "fnav", "100%", "100%", "8", "#000000");
	so.addParam("wmode", "transparent");
	so.addParam("salign", "TL");
	so.addParam("scale", "noscale");
	so.addParam("AllowScriptAccess", "always");
	so.addVariable("n", selectedMenu);
	so.write("flashhead");
}
function insertFlashSubNav(navSource,selectedMenu2){
	if(navSource){
		selectedMenu2=(selectedMenu2==undefined)?"none":selectedMenu2;
		s2 = new String(selectedMenu2);
		selectedMenu2 = s2.replace("&","%26");
		var so2 = new SWFObject("flash/flash_subnav.swf", "fsnav", "100%", "100%", "8", "#000000");
		so2.addParam("wmode", "transparent");
		so2.addParam("salign", "TL");
		so2.addParam("scale", "noscale");
		so2.addParam("AllowScriptAccess", "always");
		so2.addVariable("s", navSource);
		so2.addVariable("n", selectedMenu2);
		so2.write("flashsub");
	}
}
/**********************************************************************
 SWFObject v1.5: Flash Player detection and embed - http://blog.deconcept.com/swfobject/
 SWFObject is (c) 2007 Geoff Stearns and is released under the MIT License:
 http://www.opensource.org/licenses/mit-license.php
 **********************************************************************/
if(typeof deconcept=="undefined"){var deconcept=new Object();}if(typeof deconcept.util=="undefined"){deconcept.util=new Object();}if(typeof deconcept.SWFObjectUtil=="undefined"){deconcept.SWFObjectUtil=new Object();}deconcept.SWFObject=function(_1,id,w,h,_5,c,_7,_8,_9,_a){if(!document.getElementById){return;}this.DETECT_KEY=_a?_a:"detectflash";this.skipDetect=deconcept.util.getRequestParameter(this.DETECT_KEY);this.params=new Object();this.variables=new Object();this.attributes=new Array();if(_1){this.setAttribute("swf",_1);}if(id){this.setAttribute("id",id);}if(w){this.setAttribute("width",w);}if(h){this.setAttribute("height",h);}if(_5){this.setAttribute("version",new deconcept.PlayerVersion(_5.toString().split(".")));}this.installedVer=deconcept.SWFObjectUtil.getPlayerVersion();if(!window.opera&&document.all&&this.installedVer.major>7){deconcept.SWFObject.doPrepUnload=true;}if(c){this.addParam("bgcolor",c);}var q=_7?_7:"high";this.addParam("quality",q);this.setAttribute("useExpressInstall",false);this.setAttribute("doExpressInstall",false);var _c=(_8)?_8:window.location;this.setAttribute("xiRedirectUrl",_c);this.setAttribute("redirectUrl","");if(_9){this.setAttribute("redirectUrl",_9);}};deconcept.SWFObject.prototype={useExpressInstall:function(_d){this.xiSWFPath=!_d?"expressinstall.swf":_d;this.setAttribute("useExpressInstall",true);},setAttribute:function(_e,_f){this.attributes[_e]=_f;},getAttribute:function(_10){if (this.attributes[_10] != undefined){return this.attributes[_10];}else{return '';}},addParam:function(_11,_12){this.params[_11]=_12;},getParams:function(){return this.params;},addVariable:function(_13,_14){this.variables[_13]=_14;},getVariable:function(_15){return this.variables[_15];},getVariables:function(){return this.variables;},getVariablePairs:function(){var _16=new Array();var key;var _18=this.getVariables();for(key in _18){_16[_16.length]=key+"="+_18[key];}return _16;},getSWFHTML:function(){var _19="";if(navigator.plugins&&navigator.mimeTypes&&navigator.mimeTypes.length){if(this.getAttribute("doExpressInstall")){this.addVariable("MMplayerType","PlugIn");this.setAttribute("swf",this.xiSWFPath);}_19="<embed type=\"application/x-shockwave-flash\" src=\""+this.getAttribute("swf")+"\" width=\""+this.getAttribute("width")+"\" height=\""+this.getAttribute("height")+"\" style=\""+this.getAttribute("style")+"\"";_19+=" id=\""+this.getAttribute("id")+"\" name=\""+this.getAttribute("id")+"\" ";var _1a=this.getParams();for(var key in _1a){_19+=[key]+"=\""+_1a[key]+"\" ";}var _1c=this.getVariablePairs().join("&");if(_1c.length>0){_19+="flashvars=\""+_1c+"\"";}_19+="/>";}else{if(this.getAttribute("doExpressInstall")){this.addVariable("MMplayerType","ActiveX");this.setAttribute("swf",this.xiSWFPath);}_19="<object id=\""+this.getAttribute("id")+"\" classid=\"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000\" width=\""+this.getAttribute("width")+"\" height=\""+this.getAttribute("height")+"\" style=\""+this.getAttribute("style")+"\">";_19+="<param name=\"movie\" value=\""+this.getAttribute("swf")+"\" />";var _1d=this.getParams();for(var key in _1d){_19+="<param name=\""+key+"\" value=\""+_1d[key]+"\" />";}var _1f=this.getVariablePairs().join("&");if(_1f.length>0){_19+="<param name=\"flashvars\" value=\""+_1f+"\" />";}_19+="</object>";}return _19;},write:function(_20){if(this.getAttribute("useExpressInstall")){var _21=new deconcept.PlayerVersion([6,0,65]);if(this.installedVer.versionIsValid(_21)&&!this.installedVer.versionIsValid(this.getAttribute("version"))){this.setAttribute("doExpressInstall",true);this.addVariable("MMredirectURL",escape(this.getAttribute("xiRedirectUrl")));document.title=document.title.slice(0,47)+" - Flash Player Installation";this.addVariable("MMdoctitle",document.title);}}if(this.skipDetect||this.getAttribute("doExpressInstall")||this.installedVer.versionIsValid(this.getAttribute("version"))){
flashPagePrep();
var n=(typeof _20=="string")?document.getElementById(_20):_20;n.innerHTML=this.getSWFHTML();return true;}else{if(this.getAttribute("redirectUrl")!=""){document.location.replace(this.getAttribute("redirectUrl"));}}return false;}};deconcept.SWFObjectUtil.getPlayerVersion=function(){var _23=new deconcept.PlayerVersion([0,0,0]);if(navigator.plugins&&navigator.mimeTypes.length){var x=navigator.plugins["Shockwave Flash"];if(x&&x.description){_23=new deconcept.PlayerVersion(x.description.replace(/([a-zA-Z]|\s)+/,"").replace(/(\s+r|\s+b[0-9]+)/,".").split("."));}}else{if(navigator.userAgent&&navigator.userAgent.indexOf("Windows CE")>=0){var axo=1;var _26=3;while(axo){try{_26++;axo=new ActiveXObject("ShockwaveFlash.ShockwaveFlash."+_26);_23=new deconcept.PlayerVersion([_26,0,0]);}catch(e){axo=null;}}}else{try{var axo=new ActiveXObject("ShockwaveFlash.ShockwaveFlash.7");}catch(e){try{var axo=new ActiveXObject("ShockwaveFlash.ShockwaveFlash.6");_23=new deconcept.PlayerVersion([6,0,21]);axo.AllowScriptAccess="always";}catch(e){if(_23.major==6){return _23;}}try{axo=new ActiveXObject("ShockwaveFlash.ShockwaveFlash");}catch(e){}}if(axo!=null){_23=new deconcept.PlayerVersion(axo.GetVariable("$version").split(" ")[1].split(","));}}}return _23;};deconcept.PlayerVersion=function(_29){this.major=_29[0]!=null?parseInt(_29[0]):0;this.minor=_29[1]!=null?parseInt(_29[1]):0;this.rev=_29[2]!=null?parseInt(_29[2]):0;};deconcept.PlayerVersion.prototype.versionIsValid=function(fv){if(this.major<fv.major){return false;}if(this.major>fv.major){return true;}if(this.minor<fv.minor){return false;}if(this.minor>fv.minor){return true;}if(this.rev<fv.rev){return false;}return true;};deconcept.util={getRequestParameter:function(_2b){var q=document.location.search||document.location.hash;if(_2b==null){return q;}if(q){var _2d=q.substring(1).split("&");for(var i=0;i<_2d.length;i++){if(_2d[i].substring(0,_2d[i].indexOf("="))==_2b){return _2d[i].substring((_2d[i].indexOf("=")+1));}}}return "";}};deconcept.SWFObjectUtil.cleanupSWFs=function(){var _2f=document.getElementsByTagName("OBJECT");for(var i=_2f.length-1;i>=0;i--){_2f[i].style.display="none";for(var x in _2f[i]){if(typeof _2f[i][x]=="function"){_2f[i][x]=function(){};}}}};if(deconcept.SWFObject.doPrepUnload){if(!deconcept.unloadSet){deconcept.SWFObjectUtil.prepUnload=function(){__flash_unloadHandler=function(){};__flash_savedUnloadHandler=function(){};window.attachEvent("onunload",deconcept.SWFObjectUtil.cleanupSWFs);};window.attachEvent("onbeforeunload",deconcept.SWFObjectUtil.prepUnload);deconcept.unloadSet=true;}}if(!document.getElementById&&document.all){document.getElementById=function(id){return document.all[id];};}var getQueryParamValue=deconcept.util.getRequestParameter;var FlashObject=deconcept.SWFObject;var SWFObject=deconcept.SWFObject;

