// buka popup
function popup(mylink, windowname)
{
if (! window.focus)return true;
var href;
if (typeof(mylink) == 'string')
   href=mylink;
else
   href=mylink.href;
window.open(href, windowname,
'width=440,height=350,scrollbars=yes');
return false;
}
//-->


// tutup popup
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;
}
// End -->



// tanggal
var days=new Array(8);
var months=new Array(13);
days[0]="Sunday";
days[1]="Monday";
days[2]="Tuesday";
days[3]="Wednesday";
days[4]="Thursday";
days[5]="Friday";
days[6]="Saturday";
months[0]="January";
months[1]="February";
months[2]="March";
months[3]="April";
months[4]="May";
months[5]="June";
months[6]="July";
months[7]="August";
months[8]="September";
months[9]="October";
months[10]="November";
months[11]="December";
var time=new Date();
var hari=days[time.getDay()];
var bulan=months[time.getMonth()];
var tanggal=time.getDate();
var tahun=time.getYear();
if (tahun < 2000)  
tahun = tahun + 1900;
var umur="0"; // Determine age
var blnow=time.getMonth();
if (blnow <= 6)
umur = tahun - 1944;
else umur = tahun - 1943;
var dateObj = new Date(document.lastModified);
var BulanMod = months[dateObj.getMonth()];
var TanggalMod = dateObj.getDate();
var TahunMod = dateObj.getYear();
if (TahunMod < 100)    
TahunMod = TahunMod + 2000;
else if (TahunMod < 200)
TahunMod = TahunMod + 1900;
var LastModified="terakhir diperbaharui " + TanggalMod
+ " " + BulanMod + " " + TahunMod; 
// End -->



// Original:  Nicolas -->
// Web Site:  http://www.javascript-page.com -->
function checknew(date) {
var pic = "Images/blinknew.gif";
expdate = new Date(date);
curdate = new Date();
if (expdate.getTime() > curdate.getTime())
document.write("<img src=" + pic + ">");
}
// End -->




// copywright
var time=new Date();
var anno=time.getYear();
if (anno < 2000)  
anno = anno + 1900;
annoFirst = 2003;
annoLast = anno + 1;
// End -->


// email address
emailE=('support@' + 'cognations.com')
// End -->


