<!--- Hide script from browsers that don't understand JavaScript

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;
}

function MM_preloadImages() { //v3.0
	//regenerate2();
	getinfo();
  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.0
  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 && document.getElementById) x=document.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 getinfo()
{
  var opt = document.form1.CaseStudies.options;
  i=1;
  dir = "/services/"
	
  str_index = document.URL.search(dir);
  str = document.URL.substr(0, str_index);
  dir = str + dir;

  opt[0] = new Option ("Case Studies");
  opt[0].selected = true;
  
  opt[i++] = new Option("Resi.Gateway ASIC",  
			dir + "casestudies/casestudy1.htm");
  opt[i++] = new Option("Wireless BS Ctlr",  
			dir + "casestudies/casestudy3.htm");
  opt[i++] = new Option("10GbE PCS Verfn.",  
			dir + "casestudies/casestudy6.htm");
  opt[i++] = new Option("DDR SDRAM Modl.",  
			dir + "casestudies/casestudy13.htm");
  opt[i++] = new Option("Peripheral Ctlr.",  
			dir + "casestudies/casestudy7.htm");
  opt[i++] = new Option("Intel MAC-NP br.",  
			dir + "casestudies/casestudy14.htm");
  opt[i++] = new Option("NP-Switch fabric br.",  
			dir + "casestudies/casestudy15.htm");
  opt[i++] = new Option("4Gbps B.plane drvr.",  
			dir + "casestudies/casestudy16.htm");	
  opt[i++] = new Option("Solaris PCI Driver.",  
			dir + "casestudies/casestudy17.htm");
  opt[i++] = new Option("Request more info", 
	   "http://www.comit.com/cgi-bin/rfq/rfq.tcl");			
  document.form1.CaseStudies.length = i;

  opt = document.form1.ProcessTools.options;
  i=1;
  opt[0] = new Option ("Process Tools", 
        dir + "../products/processtools.htm");
  opt[0].selected = true;
  
  opt[i++] = new Option("Comit Fiesta CRST", 
	   dir + "../products/crst.htm");
  opt[i++] = new Option("Comit Fiesta CVXT", 
	   dir + "../products/cvxt.htm");
  opt[i++] = new Option("Comit Fiesta CMMT", 
	   dir + "../products/cmmt.htm");
  opt[i++] = new Option("Comit Fiesta CSMT", 
	   dir + "../products/csmt.htm");
  opt[i++] = new Option("Comit Fiesta CWGT", 
	   dir + "../products/cwgt.htm");
  opt[i++] = new Option("Complete Toolkit", 
	   dir + "../products/processtools.htm");
  opt[i++] = new Option("Request more info", 
	   "http://www.comit.com/cgi-bin/rfq/rfq.tcl");
  document.form1.ProcessTools.length = i;

  opt = document.form1.DataSheets.options;
  i=1;
  opt[0] = new Option ("Product IP (PDF)",
     dir + "datasheets/datasheets.htm");
  opt[0].selected = true;

  opt[i++] = new Option("PCIX-PCIX Bridge",
     dir + "datasheets/pcix_pcix_bridge.pdf");
	 
  opt[i++] = new Option("1024point FFT Core",
     dir + "datasheets/fft_core.pdf");

  opt[i++] = new Option("DDR SDRAM Ctlr",
     dir + "datasheets/ddr_sdram_controller.pdf");
  
  opt[i++] = new Option("Ethernet RF Bridge",
     dir + "datasheets/ethernetrfbridge.pdf");
 
  opt[i++] = new Option("PCI-SDRAM Ctlr",
     dir + "datasheets//pcisdramcontroller.pdf"); 
  
  opt[i++] = new Option("Reed-Solomon E/D",
     dir + "datasheets/reedsolomoned.pdf");
 
  opt[i++] = new Option("UART 16450 macro",
     dir + "datasheets/uart16450macro.pdf");
 
  opt[i++] = new Option("UART 16550 macro",
     dir + "datasheets/uart16550macro.pdf");
 
  opt[i++] = new Option("PCI-PCI Bridge",
     dir + "datasheets/pcipcibridge.pdf");
 
  opt[i++] = new Option("HDLC Core",
     dir + "datasheets/hdlcdatasheet.pdf");

  opt[i++] = new Option("Viterbi decoder",
     dir + "datasheets/Viterbi.pdf");
  opt[i++] = new Option("See all IP",
     dir + "../products/productip.htm");
  opt[i++] = new Option("Request more info", 
	   "http://www.comit.com/cgi-bin/rfq/rfq.tcl");
//  opt[i++] = new Option("More ...",
  //   dir + "datasheets/datasheets.htm");
  document.form1.DataSheets.length = i;

}

function fnBack()
{    
 window.history.go(-1)
} 


/// Functions for producing scrolling effect
function regenerate(){
  window.location.reload()
}

function regenerate2(){

  if (document.layers.length > 0 && document.layers[0].name == "vscroller01"){
    setTimeout("window.onresize=regenerate",450)
    setTimeout("intializescroller()", 10000)
  }

}

function intializescroller(){
  document.vscroller01.document.vscroller02.document.write(scrollercontents)
  document.vscroller01.document.vscroller02.document.close()
  thelength=document.vscroller01.document.vscroller02.document.height
  scrollit()
}

function scrollit(){
  if (document.vscroller01.document.vscroller02.top>=thelength*(-1)){
    document.vscroller01.document.vscroller02.top-=speed
    setTimeout("scrollit()",100)
  } else {
    document.vscroller01.document.vscroller02.top=scrollerheight
    scrollit()
  }
}

///  For scroller...
  var scrollerwidth=212

  //change the scrollers height
  var scrollerheight=100

  //change the scrollers scroll speed (larger is faster)
  var speed=1

  //change the scrollers contents
  // remember to end each line with a backslash...
  var scrollercontents='\
    <p><img src="../assets/umclogo.gif" width="64" height="20">\
	<p><img src="../assets/partnerlogo_altera.gif" width="80" height="18">\
	<p><img src="../assets/latticelogo.gif" width="80" height="35">\
	<p><img src="../assets/xilinxxpertlogo.gif" width="74" height="30">\
'

///  This part ends the scroller's contents
  
// End hiding --);

