

function gId(id){
	return document.getElementById(id);
}


function apri(URL,width,height) {

var left = (screen.width/2) - width/2;
var top = (screen.height/2) - height/2;
var styleStr = 'toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=0,resizable=0,width='+width+',height='+height+',left='+left+',top='+top+',screenX='+left+',screenY='+top;

window.open(URL,"", styleStr);
}





function loadPage(list) {

  location.href=list.options[list.selectedIndex].value

}


function createFlash(src,param){
    if (navigator.appVersion.indexOf("MSIE") != -1){
    var strContent = '<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=4,0,0,0" ';
    strContent += 'width="875" ';
    strContent += 'height="253">';
    strContent += '<param name="menu" value="false" />';
    strContent += '<param name="movie" value="'+src+'">';
    strContent += '<param name="flashvars" value="l='+param+'" />';
    strContent += '<param name=quality value=high>';
    strContent += '<param name="wmode" value="transparent">';
    strContent += 'Flash plug-in not installed.';
    strContent += '</object>';
    document.write(strContent);
  }else{
 document.write('<object type="application/x-shockwave-flash" data="'+ src +'" width="875" height="253" wmode="transparent" flashvars="l='+param+'">Flash plug-in not installed.</object>');
  }
}




