	
	
	/*browser evaluation*/
	var ns4,ns6,ns7,ie4,ie5,ie6,da_text ;
	var nUser=navigator.userAgent;
	var bname = navigator.appName;
	var ver = navigator.appVersion;
	var int_ver = parseInt(ver);
	if (bname.indexOf("Netscape") >= 0 && int_ver == 4) {ns4 = 1;}/*netscape 4 +*/
	if ((nUser.indexOf("Netscape") >=0) && int_ver >= 5){ns6 = 1; ns7 = 1}/*netscape 6 and netscape 7*/
	if (nUser.indexOf('MSIE 4') >0) ie4 = 1;/*internet explorer 4*/
	if (nUser.indexOf('MSIE 5') >0) ie5 = 1;/*internet explorer 5*/
	if (nUser.indexOf('MSIE 6') >0) ie6 = 1;/*internet explorer 6*/
	/*alert(nUser+' '+int_ver);*/
	var is_over = 0;
	var divelement = new Array();
		divelement[0] = 'popupDiv1';

	var inlink = 0;
	function linkpopUp(bgc,da_header,da_content,third) {
	inlink = 1;
	da_text = '<table cellspacing=0 cellpadding=1 border=0 width=200><tr><td bgcolor="'+bgc+'">';
	da_text += '<table width=100% cellspacing=0 cellpadding=2 border=0 bgcolor=#ffffff><tr><td align=left><font class="bodysmall">';
	da_text += da_content+third;
	da_text += '</font></td></tr></table></td></tr></table>';
	
	if (ie6||ie5||ns6||ns7) {
	        linkDiv.style.visibility = "visible";
	        linkDiv.innerHTML = da_text;
	}	
	}
	
	function linkpopDown() {
	inlink = 0;
	if (ie6||ie5||ns6||ns7) {
	        linkDiv.style.visibility = "hidden";
	}	
	}
	
	function daMouseCapture(e) { 
			if((ie6||ie5||ns6||ns7) && (inlink != 0)){linkDiv.style.left = window.event.clientX + document.body.scrollLeft + 5; linkDiv.style.top = window.event.clientY + document.body.scrollTop-48;}
	}
	var menu; 
	
    function showMenu (evt) { 
    if (document.all) { 
    document.all.contextMenu.style.pixelLeft = event.clientX; 
    document.all.contextMenu.style.pixelTop = event.clientY; 
    document.all.contextMenu.style.visibility = 'visible'; 
    return false; 
    } 
    else if (document.layers) { 
    if (evt.which == 3) { 
      document.contextMenu.left = evt.x; 
      document.contextMenu.top = evt.y; 
      document.contextMenu.onmouseout = 
        function (evt) { this.visibility = 'hide'; }; 
      document.contextMenu.visibility = 'show'; 
      return false; 
    } 
    } 
    return true; 
    } 4444444
    if (document.all) 
    document.oncontextmenu =showMenu; 
    if (document.layers) { 
    document.captureEvents(Event.MOUSEDOWN); 
    document.onmousedown = showMenu; 
    } 

        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
        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) { //v3.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); 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_openBrWindow(theURL,winName,features) { //v2.0
        window.open(theURL,winName,features);
        }

        function redirectTo(form) {

            var myindex=form.marketselector.selectedIndex

            if (myindex!=0) {
                top.location.href=(form.marketselector.options[myindex].value) + getAllParameters();
            } // end if

        } // end redirectTo

        function getAllParameters() {

            // convert the location URL into a string for parsing
            var url = location + ""

            // find the start of the parameter
            idxFirst = url.indexOf( "?" );
            if ( idxFirst < 0 ) {
                return "";
            } // end if
            return url.substring( idxFirst );
        } // end getAllParameters

        function urlReplace( url ) {
            location.replace(url + getAllParameters() );
        } // end urlReplace
	    window.focus();
		
        function targetopener(mylink, closeme, closeonly)
        {
        if (! (window.focus && window.opener))return true;
        window.opener.focus();
        if (! closeonly)window.opener.location.href=mylink.href;
        if (closeme)window.close();
        return false;
        }
		
	
