/* */
var ie = (navigator.appName=="Microsoft Internet Explorer") ;
var ns = (navigator.appName=="Netscape") ;
var Mac = (navigator.appVersion.indexOf("Mac") != -1);
var Win = (navigator.appVersion.indexOf("Win") != -1);

url = "/en/css/";
if (Mac)
{
if (navigator.userAgent.indexOf("Opera") > -1) style="macie.css";
else if (ie) style="macie.css";
else if (ns) style="nc.css";
}
else if(Win)
{
if (navigator.userAgent.indexOf("Opera") > -1) style="macie.css";
else if (ie) style="ie.css";
else if (ns) style="nc.css";
}
document.write('<LINK rel=stylesheet type="text/css" href="'+url+style+'">');

/* */
str = navigator.userAgent.toUpperCase();
if (str.indexOf("WIN") >= 0)
{
if (navigator.userAgent.match(/msie (\d)/i))
   pr = (eval(RegExp.$1) >= 5) ? 1 : 0;
else if (self.innerWidth)
   pr = (eval(navigator.appVersion.charAt(0)) >= 4) ? 1 : 0;
else pr = 0;
}
function print_out() {
   /* */
   if (pr) self.print();
   else alert("You cannot use this button with your browser.");
}

/* */
function Contact(url) {
    var contact=window.open(url,"contact","width=630,height=550,toolbar=no,scrollbars=yes,resizable=yes,menubar=no").focus();
}

//PopUp Window
function Winpup(URL,Wname,Wwidth,Wheight){
window.open(URL,Wname,"width="+Wwidth+",height="+Wheight+",scrollbars=yes,resizable=yes,toolbar=no,location=no,directories=no,status=no").focus()
}
