var DHTML = (document.getElementById || document.all || document.layers);
function ap_getObj(name){
if (document.getElementById){
return document.getElementById(name).style;}
else if (document.all){
return document.all[name].style;}
else if (document.layers){
return document.layers[name];}}
function ap_showWaitMessage(div,flag){
if (!DHTML) return;
var x = ap_getObj(div);
x.visibility = (flag) ? 'visible':'hidden'
if(! document.getElementById)
if(document.layers)
x.left=280/2;
return true;}
function MM_findObj(n, d) { //v4.01
var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
if(!x && d.getElementById) x=d.getElementById(n); return x;}
function loadflash(id,theurl,width,height){
MM_findObj(id).innerHTML ='<object classid="clsid:D27CDB6E-AE6D-11CF-96B8-444553540000" id="obj1" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"border="0" width="'+width+'" height="'+height+'"><param name="movie" value="'+theurl+'"><param name="quality" value="High"><param name="wmode" value="transparent"><embed src="'+theurl+'" pluginspage="http://www.macromedia.com/go/getflashplayer"type="application/x-shockwave-flash" name="obj1" width="'+width+'" height="'+height+'" quality="High"wmode="transparent"></object>'}
