// JavaScript Document
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 operatorSelection()
{
    PageIndex2=document.form1.l_id.selectedIndex
      if (document.form1.l_id.options[PageIndex2].title != "nomini")
	  {
	  location = document.form1.l_id.options[PageIndex2].value
	  }
	  else 
	  {
	    document.getElementById("operator").innerHTML = document.form1.l_id.value 
      }
}

function changeListing() { //v3.0
	document.getElementById("operator").innerHTML = document.form1.l_id.value;
}

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 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 MM_swapImage() { //v3.0
  var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
   if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
}

function MM_goToURL() { //v3.0

  var i, args=MM_goToURL.arguments; document.MM_returnValue = false;
  for (i=0; i<(args.length-1); i+=2) eval(args[i]+".location='"+args[i+1]+"?a_id="+document.getElementById("a_id").value+"'");
}
function MM_swapImage2() { //v3.0
  var i,j=0,x,e=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(e.length-2);i+=3)
   if ((x=MM_findObj(e[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=e[i+2];}
}

function MM_goToURL2() { //v3.0

  var i, args=MM_goToURL2.arguments; document.MM_returnValue = false;
  for (i=0; i<(args.length-1); i+=2) eval(args[i]+".location='"+args[i+1]+"?e_id="+document.getElementById("e_id").value+"'");
}

function MM_openBrWindow(theURL,winName,features) { //v2.0
  window.open(theURL,winName,features);
}

function MM_goToURL3() { //v3.0

  var i, args=MM_goToURL3.arguments; document.MM_returnValue = false;
  for (i=0; i<(args.length-1); i+=2) eval(args[i]+".location='"+args[i+1]+"?l_id="+document.getElementById("l_id").value+"'");
}
function MM_jumpMenu(targ,selObj,restore){ //v3.0
  eval(targ+".location='"+selObj.options[selObj.selectedIndex].value+"'");
  if (restore) selObj.selectedIndex=0;
}
function MM_swapImgRestore() { //v3.0

  var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;

}

unlock0 = 1617;
unlock1 = 1214;
function vscrolldata0()
{
    /*---------------------------------------------
    Scroll Dimensions (Note: Does not include container padding)
    ---------------------------------------------*/
	this.container_width = 480
	this.container_height = 150
    /*---------------------------------------------
    Timing and Animation Speed
    ---------------------------------------------*/
	this.initial_scroll_delay = 0                   //measured in seconds

	this.animation_delay = 150                       //measured in milliseconds (1/1000)
	this.animation_jump = 1                         //measured in pixels, must be > 1
	this.animation_delay_mac = 100                   //measured in milliseconds (1/1000)
	this.animation_jump_mac = 5                    //measured in pixels, must be > 1
    /*---------------------------------------------
    Scroll Container Styles and Padding
    ---------------------------------------------*/
	this.container_padding = "5,5,5,20"
	this.container_styles = "background-color:#252525;";
    /*---------------------------------------------
    Item Styles and Padding
    ---------------------------------------------*/
	/* Note: this.Item_styles apply to all standard content in the scroll, while this.item_link_styles apply to content
                 within hyperlink tags only.  */
	this.item_styles = "color:#222222; text-decoration:none; font-family:Arial; font-size:13px; border-style:none;border-width:0px;";
	this.item_link_styles = "color:#3366cc; text-decoration:none; font-family:Arial; font-size:13px; border-style:none;border-width:0px;";
	this.item_link_hover_styles = "color:#3366cc; text-decoration:underline; font-family:Arial; font-size:13px; border-style:none;border-width:0px;";
}
