
<!--
onerror = errorWindow
function errorWindow(errMsg, location, lineNum) {
 debugWin= window.open("","debugWin","height=200,width=300,resize=yes")
 debugWin.document.write("Error found at line "+lineNum)
 debugWin.document.write("The error was: "+errMsg)
 debugWin.document.close()
 return true
 }

function MM_preloadImages() { //v3.0
  var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
    var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
    if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}

function moveto(newloc)
{
window.location=newloc;
return true
}


function MM_reloadPage(init) {  //reloads the window if Nav4 resized
  if (init==true) with (navigator) {if ((appName=="Netscape")&&(parseInt(appVersion)==4)) {
    document.MM_pgW=innerWidth; document.MM_pgH=innerHeight; onresize=MM_reloadPage; }}
  else if (innerWidth!=document.MM_pgW || innerHeight!=document.MM_pgH) location.reload();
}


MM_reloadPage(true);
function tellmemore(req) {
newWind6=window.open(req,"newWindow6","status=no,toolbar=no, width=600, height=600, scrollbars=yes, resizable=yes, top=5, left=5")
newWind6.focus()
return true;
}

function tellmemore2(req) {
newWind2=window.open(req,"newWindow2","status=no,toolbar=no,  width=600, scrollbars=yes, resizable=yes, height=500, top=5, left=330")
newWind2.focus()
return true;
}


function tellmemore3(req) {
newWind3=window.open(req,"newWindow3","status=no,toolbar=no, width=600, scrollbars=yes,resizable=yes, height=500, top=5, left=350")
newWind3.focus()
return true
}

function stocklogos(req) {
newWind3=window.open(req,"newWindow3","status=no,toolbar=no, width=600, scrollbars=yes,resizable=yes, height=650, top=5, left=5")
newWind3.focus()
return true
}

function uploadlogos(req) {
newWind2=window.open(req,"newWindow2","status=no,toolbar=no,  width=500, scrollbars=no, resizable=no, height=350, top=5, left=330")
newWind2.focus()
return true;
}
function uploadbk(req) {
newWind2=window.open(req,"newWindow2","status=no,toolbar=no,  width=540, scrollbars=no, resizable=no, height=500, top=5, left=330")
newWind2.focus()
return true;
}
function MM_openBrWindow(theURL,winName,features) { //v2.0
  window.open(theURL,winName,features);
}


function setselections(val)
{ 
document.fm1.bcard_select.value=val.options[val.selectedIndex].value;
document.fm1.change_layout_flag.value=1;
document.fm1.last_layout.value=1;
}



function settransparency(val)
{ 
document.fm1.transparent_level.value=val;
}

function MM_jumpMenu(targ,selObj,restore){ //v3.0
  eval(targ+".location='"+selObj.options[selObj.selectedIndex].value+"'");
  if (restore) selObj.selectedIndex=0;
}


// POPUP IMAGE ENLARGEMENT WINDOW
function popUp(page,width,height) {
	var wleft = (screen.width - width) / 2;
	var wtop = (screen.height - height) / 2;
	winprops = 'height='+height+',width='+width+',top='+wtop+',left='+wleft+',menubar=0,resizable=1,scrollbars=no,status=0,titlebar=0,toolbar=0'
	var newwin = window.open(page, "Image", winprops)
}

function popUp2(page,width,height) {
	var wleft = (screen.width - width) / 2;
	var wtop = (screen.height - height) / 2;
	winprops = 'height='+height+',width='+width+',top='+wtop+',left='+wleft+',menubar=0,resizable=1,scrollbars=yes,status=0,titlebar=0,toolbar=0'
	var newwin = window.open(page, "Image", winprops)
}

//-->
