// JavaScript Document

//Jump Menu
function MM_jumpMenu(targ,selObj,restore){ //v3.0
  eval(targ+".location='"+selObj.options[selObj.selectedIndex].value+"'");
  if (restore) selObj.selectedIndex=0;
}
//Nav MouseOver

var base = "pix/nav/"
var nrm = new Array();
var omo = new Array();
var stuff = new Array('img1','img2','img3','img4','img5','img6','img7','img8');

if (document.images){
	for (i=0;i<stuff.length;i++)
  {
    nrm[i] = new Image;
    nrm[i].src = base + stuff[i] + "_off.gif"
    omo[i] = new Image;
    omo[i].src = base + stuff[i] + "_on.gif";
  }
}
function over(no)
{
  
if (document.images)
  
{
    
document.images[stuff[no]].src = omo[no].src
  
}
}
function out(no)
{
  if (document.images)
  {
    document.images[stuff[no]].src = nrm[no].src
  }
}
function PopUp(theURL,winName,features){
	window.open(theURL,winName,features);
}
function printWindow(){
   bV = parseInt(navigator.appVersion)
   if (bV >= 4) window.print()
}
// show hide
function MM_showHideLayers() { //v9.0
  var i,p,v,obj,args=MM_showHideLayers.arguments;
  for (i=0; i<(args.length-2); i+=3) 
  with (document) if (getElementById && ((obj=getElementById(args[i]))!=null)) { v=args[i+2];
    if (obj.style) { obj=obj.style; v=(v=='show')?'visible':(v=='hide')?'hidden':v; }
    obj.visibility=v; }
}
// change style in iFrame
var ColorCode2="000099";
function ParaOver(strID) {
     window.frames['product'].document.getElementById(strID).style.backgroundColor="#A8A6BB";
	 window.frames['product'].document.getElementById(strID).style.color="#ffffff";	 
}
function ParaOut(strID) {
  window.frames['product'].document.getElementById(strID).style.backgroundColor="transparent";
  window.frames['product'].document.getElementById(strID).style.color="#000000";
}
function ParaOut2(strID) {
  window.frames['product'].document.getElementById(strID).style.backgroundColor="transparent";
  window.frames['product'].document.getElementById(strID).style.color="#000000";
}
// CSS Browser Selector   v0.2.5
// Documentation:         http://rafael.adm.br/css_browser_selector
// License:               http://creativecommons.org/licenses/by/2.5/
// Author:                Rafael Lima (http://rafael.adm.br)
// Contributors:          http://rafael.adm.br/css_browser_selector#contributors
var css_browser_selector = function() {
	var 
		ua=navigator.userAgent.toLowerCase(),
		is=function(t){ return ua.indexOf(t) != -1; },
		h=document.getElementsByTagName('html')[0],
		b=(!(/opera|webtv/i.test(ua))&&/msie (\d)/.test(ua))?('ie ie'+RegExp.$1):is('gecko/')? 'gecko':is('opera/9')?'opera opera9':/opera (\d)/.test(ua)?'opera opera'+RegExp.$1:is('konqueror')?'konqueror':is('applewebkit/')?'webkit safari':is('mozilla/')?'gecko':'',
		os=(is('x11')||is('linux'))?' linux':is('mac')?' mac':is('win')?' win':'';
	var c=b+os+' js';
	h.className += h.className?' '+c:c;
}();
// main nav

navHover = function() {
	var lis = document.getElementById("navmenu").getElementsByTagName("LI");
	for (var i=0; i<lis.length; i++) {
		lis[i].onmouseover=function() {
			this.className+=" iehover";
		}
		lis[i].onmouseout=function() {
			this.className=this.className.replace(new RegExp(" iehover\\b"), "");
		}
	}
}
function MM_openBrWindow(theURL,winName,features) { //v2.0
  window.open(theURL,winName,features);
}