/* Methods for resizing the flash stage at runtime.setFlashWidth(divid, newW)divid: id of the div containing the flash movie.newW: new width for flash moviesetFlashWidth(divid, newH)divid: id of the div containing the flash movie.newH: new height for flash moviesetFlashSize(divid, newW, newH)divid: id of the div containing the flash movie.newW: new width for flash movienewH: new height for flash moviecanResizeFlash()returns true if browser supports resizing flash, false if not. */function setFlashWidth(divid, newW){	document.getElementById(divid).style.width = newW+"px";}function setFlashHeight(divid, newH){		document.getElementById(divid).style.height = newH+"px";		}function setFlashSize(divid, newW, newH){	setFlashWidth(divid, newW);	setFlashHeight(divid, newH);}function canResizeFlash(){	var ua = navigator.userAgent.toLowerCase();	var opera = ua.indexOf("opera");	if( document.getElementById ){		if(opera == -1) return true;		else if(parseInt(ua.substr(opera+6, 1)) >= 7) return true;	}	return false;}function EmbedClientGallery(iidbiz){ 		//alert('We Are Here');		//iidpp = document.pp.iidpp.value;		newiidbiz=eval(iidbiz);		//alert(iidbiz);	    bizvar = '  <param name="FlashVars" value="allowResize='+e+'&iidbiz='+newiidbiz+'" />';		var e = canResizeFlash();		  document.write('<object data="http://campusalive.com/clientgallery.swf" width="100%" height="100%" type="application/x-shockwave-flash" ID=clientgallery>');		  document.write('  <param name="movie" value="http://campusalive.com/clientgallery.swf" />');		  document.write(bizvar);		  document.write('  <param name="wmode" value="transparent" />');		  document.write('</object>');}function EmbedBizGallery(iidbiz){ 		//alert('We Are Here');		//iidpp = document.pp.iidpp.value;		newiidbiz=eval(iidbiz);			    bizvar = '  <param name="FlashVars" value="allowResize='+e+'&iidbiz='+newiidbiz+'" />';		e = canResizeFlash();		  document.write('<object data="http://campusalive.com/bizpagegallery.swf" width="100%" height="100%" type="application/x-shockwave-flash" ID="bizgallery">');		  document.write('  <param name="movie" value="http://campusalive.com/bizpagegallery.swf" />');		  //document.write(bizvar);		  document.write('  <param name="wmode" value="window" />');		  document.write('</object>');}function EmbedVidGallery(iidbiz){ 		//alert('We Are Here');		//iidpp = document.pp.iidpp.value;		newiidbiz=eval(iidbiz);			    bizvar = '  <param name="FlashVars" value="allowResize='+e+'&iidbiz='+newiidbiz+'" />';		e = canResizeFlash();		  document.write('<object data="http://campusalive.com/bizpagesvids.swf" width="100%" height="100%" type="application/x-shockwave-flash" ID="bizgallery">');		  document.write('  <param name="movie" value="http://campusalive.com/bizpagesvids.swf" />');		  //document.write(bizvar);		  document.write('  <param name="wmode" value="window" />');		  document.write('</object>');}function resetFocus(){	var toFocus = document.getElementById("clientgallery");	toFocus.focus();}function goTop(){	 window.location.hash = 'up';}	