/*~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*/
// For Button
/*~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*/
function disablebttn(formname)  {
 if (document.all || document.getElementById) {
   for (i=0;i<formname.length;i++) {
     var bttn=formname.elements[i];
     if(bttn.type.toLowerCase()=="submit" || bttn.type.toLowerCase()=="reset")
		bttn.disabled=true;
   }
 }
}

/*~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*/
// Open window
/*~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*/
function openwindows(mypage,myname,w,h,scroll) {
	var win = null;
	var winl = (screen.width-w)/2;
	var wint = (screen.height-h)/2;
	var settings ='height='+h+',';
	settings +='width='+w+',';
	settings +='top='+wint+',';
	settings +='left='+winl+',';
	settings +='scrollbars='+scroll+','; 
	settings +='resizable=no';
	win=window.open(mypage,myname,settings);
	if(parseInt(navigator.appVersion) >= 4){win.window.focus();}
}

nereidFadeObjects = new Object();
nereidFadeTimers = new Object();
function nereidFade(object, destOp, rate, delta){
if (!document.all)
return
    if (object != "[object]"){
        
setTimeout("nereidFade("+object+","+destOp+","+rate+","+delta+")",0);
        return;
    }
        
    clearTimeout(nereidFadeTimers[object.sourceIndex]);
    
    diff = destOp-object.filters.alpha.opacity;
    direction = 1;
    if (object.filters.alpha.opacity > destOp){
        direction = -1;
    }
    delta=Math.min(direction*diff,delta);
    object.filters.alpha.opacity+=direction*delta;

    if (object.filters.alpha.opacity != destOp){
        nereidFadeObjects[object.sourceIndex]=object;
        
nereidFadeTimers[object.sourceIndex]=setTimeout("nereidFade(nereidFadeObjects["+object.sourceIndex+"],"+destOp+","+rate+","+delta+")",rate);
    }
}

function Choose_Dest() {
	var checkValue = new String(document.form_Select_Dest.Select_Dest.value);

	if(checkValue.length>0) {

		var subjectname=document.form_Select_Dest;
		destination=window.parent;
		destination.location=
		subjectname.Select_Dest.options[subjectname.Select_Dest.selectedIndex].value;

	}

}

/*~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*/
// Click copyright
/*~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*/
function About() {

   location.reload()
   document.write('<html><head><title> teekai•info | dot seven </title><meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"><link rel="stylesheet" href="css/style.css" type="text/css"></head><body bgcolor="#F0F0F0"><table width="100%" height="100%" cellpadding="0" cellspacing="0" align="center"><tr><td><table width="450" cellpadding="0" cellspacing="0" align="center" bgcolor="#F0F0F0" border="1" style="border-collapse: collapse" rules="none" class="padding_all"><tr><td class="padding_table">All sections designed and coded by <b>teekai</b> (<a href="mailto:teekai@teekai.info">teekai@teekai.info</a>).<br>Thank <b>Vladislav Stoicov</b> for the cool javascript (<a href="mailto:vladosoft@hotmail.com">vladosoft@hotmail.com</a>)</td></tr><tr><td class="padding_table"><table width="100%" cellpadding="0" cellspacing="0" border="0" id="table_menu"><tr><td><a href="javascript:history.go(-1);"><u>click here</u></a> to turn back.</td><td>&nbsp;</td></tr></table></td></tr><tr><td class="space">&nbsp;</td></tr><tr><td height="3"></td></tr><table></td></tr></table></body></html>');

}