// ---- Position CTA ---- //
    function call_to_action(){
            if (parseInt(navigator.appVersion)>3) {
             if (navigator.appName=="Netscape") {
              newWidth = window.innerWidth/2;
             }
             if (navigator.appName.indexOf("Microsoft")!=-1) {
              newWidth = document.body.offsetWidth/2;
             }
            }
                document.getElementById("div_top_cta").style.left = newWidth + 225 + "px";
        }


// ---- DISPLAY FLASH ----- //

	function displayFlash(path,w,h,img,link,id) {
		if(siteversion != "html" && allow_trans != "0"){
			document.write('<object width='+w+' height='+h+' id="'+id+'" bgcolor="#ffffff" classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000"   codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0" id=ShockwaveFlash1><param name="allowScriptAccess" value="sameDomain" /><param name="wmode" value="transparent" /><param name="movie" value="'+path+'" /><embed src="'+path+'" width='+w+' height='+h+' id="'+id+'" bgcolor="#ffffff" wmode="transparent" allowScriptAccess="sameDomain" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash"></embed></object>');
		}else{
			if(img != ""){
				if(link != ""){
					document.write('<a href="'+link+'" class="noBg"><img src="' + img + '" width="'+w+'" height="'+h+'" id="'+id+'" /></a>');
				}else{
					document.write('<img src="' + img + '" width="'+w+'" height="'+h+'" id="'+id+'" />');
				}
			}
		}
	}

	function displayFlashHome(path,w,h,img,link,id) {
		if(siteversion != "html" && allow_trans != "0"){
			document.write('<object width='+w+' height='+h+' id="'+id+'" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"   codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" id=ShockwaveFlash1><param name="wmode" value="transparent" /><param name="movie" value="'+path+'" /><embed src="'+path+'" width='+w+' height='+h+' id="'+id+'" wmode="transparent" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash"></embed></object>');
		}else{
			if(img != ""){
				document.write('<div style="background:url(/4105/' + img + ') top left no-repeat;height:'+h+'px;width:'+w+'px;"></div>');
			}
		}
	}


	function displayFlashThumb(path,w,h,img,link,id) {
		if(siteversion != "html" && allow_trans != "0"){
			document.write('<object width='+w+' height='+h+' id="'+id+'" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"   codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" id=ShockwaveFlash1><param name="wmode" value="transparent" /><param name="movie" value="'+path+'" /><embed src="'+path+'" width='+w+' height='+h+' id="'+id+'" wmode="transparent" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash"></embed></object>');
		}else{
			if(img != ""){
				document.write('<div class="thumb_html">');
				if(link != ""){
					
					document.write('<a href="'+link.replace("%26","&")+'" class="noBg"><img src="' + img + '" width="133" height="133" id="'+id+'" /></a>');
				}else{
					document.write('<img src="' + img + '" width="133" height="133" id="'+id+'" />');
				}
				document.write('</div>');
			}
		}
	}

	function displayFlashSmallThumb(path,w,h,img,link,id) {
		if(siteversion != "html" && allow_trans != "0"){
			document.write('<object width='+w+' height='+h+' id="'+id+'" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"   codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" id=ShockwaveFlash1><param name="wmode" value="opaque" /><param name="movie" value="'+path+'" /><embed src="'+path+'" width='+w+' height='+h+' id="'+id+'" wmode="opaque" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash"></embed></object>');
		}else{
			if(img != ""){
				document.write('<div class="smallthumb_html">');
				if(link != ""){					
					document.write('<a href="'+link.replace("%26","&")+'" class="noBg"><img src="' + img + '" width="75" height="75" id="'+id+'" /></a>');
				}else{
					document.write('<img src="' + img + '" width="75" height="75" id="'+id+'" />');
				}
				document.write('</div>');
			}
		}
	}


	function displayFlashNorm(path,w,h,img,link,id) {
		if(siteversion != "html" && allow_trans != "0"){
			document.write('<object width='+w+' height='+h+' id="'+id+'" bgcolor="#ffffff" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"   codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" id=ShockwaveFlash1><param name="wmode" value="opaque" /><param name="movie" value="'+path+'" /><embed src="'+path+'" width='+w+' height='+h+' id="'+id+'" wmode="opaque" bgcolor="#ffffff" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash"></embed></object>');
		}else{
			if(img != ""){
				if(link != ""){
					document.write('<a href=""><img src="' + img + '" width="'+w+'" height="'+h+'" id="'+id+'" /></a>');
				}else{
					document.write('<img src="' + img + '" width="'+w+'" height="'+h+'" id="'+id+'" />');
				}
			}
		}
	}
