//<!--
browserName = navigator.appName;
browserVer = parseInt(navigator.appVersion);
condition = !(( (browserName.indexOf("Explorer") >=0 ) && (browserVer < 4) ) ||  ((browserName.indexOf("Netscape") >=0 ) && (browserVer < 2)) ||  ((browserName.indexOf("Firefox") >=0 ) && (browserVer < 5) ) ) ;
if (condition == true  )
    CanAnimate = true;
else
    CanAnimate = false;

function translator(pattern)
{
	var thisurl = 'http://translate.google.com/translate_c?langpair=' + pattern + "&u=" + document.location;
	if (CanAnimate ){
        	msgWindow=window.open('' ,'subwindow','toolbar=yes,location=yes,directories=yes,status=yes,scrollbars=yes,menubar=yes,resizable=yes,left=0,top=0');
	        msgWindow.focus();
        	msgWindow.location.href = thisurl;
	}
	else {
        	msgWindow=window.open(thisurl,'subwindow','toolbar=yes,location=yes,directories=yes,status=yes,scrollbars=yes,menubar=yes,resizable=yes,left=0,top=0');
	}
}

function translate_pop()
{
	var loc = document.location.toString();
	loc = loc.substring(7,loc.length);
	var idx;
	idx = document.trans.langpair.selectedIndex;
	if (idx<=0) {
		alert("Please select a language.");
		return false;
	}
	else {
		window.open('http://translate.google.com/translate_c?langpair=' + document.trans.langpair.options[idx].value + "&u=" + document.location,"new_trans");
		return false;
	}
}


function openNewWindow(w,h)
{
var nw=w+10;
var nh=h+10;
windowfeatures="'toolbar=no,location=no,directories=no,status=no,scrollbars=no,menubar=no,resizable=yes,width="+nw+",height="+nh+"'";
newWindow=window.open( '' ,'subwindow',windowfeatures);
} 

function opencertificate()
{
window.open('iso-certificate.html','welcome','width=518,height=707,scrollbars=yes');
}