function gomail(dom,name,z){
location.href="mailto:"+name+"@"+dom+"."+z;
}
function crmail(dom,name,z){
document.writeln(name+"@"+dom+"."+z);
}
function gourl(name,zone){
location.href="http://"+name+"."+zone;
location.target = "_blank";
}
function crurl(name,zone){
document.writeln("http://"+name+"."+zone);
}
function externalLinks() {
 if (!document.getElementsByTagName) return;
 var anchors = document.getElementsByTagName("a");
 for (var i=0; i<anchors.length; i++) {
   var anchor = anchors[i];
   if (anchor.getAttribute("href") && anchor.getAttribute("rel") == "external")
     anchor.target = "_blank";
 }
}
window.onload = externalLinks;
/* Temp */
var repeat,sk;
function money() {
var date = new Date("March 1, 2008");
var now = new Date();
var diff = date.getTime() - now.getTime();
var days = Math.floor(diff / 1000);
var sec=95*60*60*24;
var pd=45/sec;
sk=(42+pd*(sec-diff/1000))*2150;
document.fmoney.imoney.value=sk.toPrecision(8);
repeat=setTimeout("money()",100); 
}
function ymoney() {
var date = new Date("March 1, 2008");
var now = new Date();
var diff = date.getTime() - now.getTime();
var days = Math.floor(diff / 1000);
var sec=95*60*60*24;
var pd=45/sec;
sk=(42+pd*(sec-diff/1000));
document.fmoney.iymoney.value=sk.toPrecision(9);
repeat=setTimeout("ymoney()",10); 
}
