<!--
//creating by erdem öztürk © erdemneo@hotmail.com

menu1=new Array()
menu1[0]="Yıldırım|# onmouseover=abdr2(yildirim,175) onmouseout=sil()"
menu1[1]="Gizem|# onmouseover=abdr2(gizem,196) onmouseout=sil()"
menu1[2]="Tuna|# onmouseover=abdr2(tuna,218) onmouseout=sil()"

yildirim=new Array()
yildirim[0]="Ders kitapları|yildirimd.html"
yildirim[1]="Kaynak kitapları|yildirimk.html"
gizem=new Array()
gizem[0]="Ders kitapları|gizemd.html"
gizem[1]="Kaynak kitapları|gizemk.html"
tuna=new Array()
tuna[0]="Ders kitapları|tunad.html"


document.write('<div id="layer" style="position:absolute;top:0px;left:0px;"></div><div id="layer2" style="position:absolute;top:0px;left:0px;"></div>')
var sayac;

function abdr(menu,TopTT){
leftLL = (document.body.clientWidth/2) - 236;
clearTimeout(sayac)
menuGizle()

str='<div id=layernew style="position:absolute; left:'+leftLL+'px; top:'+TopTT+'px; width:150px; z-index:2; visibility: visible" onmouseover="uzeri()" onmouseout="sil()">'
str+='<table width="100%" border="0" cellpadding="0" cellspacing="1" bgcolor="#ffffff">'
for (i=0; i<menu.length; i++){
m=menu[i].split('|')


str+='<tr><td width="6" bgcolor="#CCCCCC">&nbsp;</td><td ><a'

if (m[1].charAt(0) == '#' ) {
} else {
str+=' onmouseover="menuGizle2()" ' 
}

str+=' class="menu" href='+m[1]+' onMouseMove="status = \''+m[0]+'\'"><b>&nbsp; '+m[0]+' &nbsp;</b></a></td></tr><tr><td colspan="2" bgcolor="#CCCCCC" height="1"></td></tr>'



}
str+='</table>'
str+='</div>'
document.all.layer.innerHTML=str
}

function abdr2(menu,TopTT){
leftLL = (document.body.clientWidth/2) - 84;
str='<div id=layernew2 style="position:absolute; left:'+leftLL+'px; top:'+TopTT+'px; width:160px; z-index:3; visibility: visible" onmouseover="uzeri()" onmouseout="sil()">'
str+='<table width="100%" border="0" cellpadding="0" cellspacing="1" bgcolor="#ffffff">'
for (i=0; i<menu.length; i++){
m=menu[i].split('|')
str+='<tr><td width="6" bgcolor="#CCCCCC">&nbsp;</td><td><a class="menu" href='+m[1]+' onMouseMove="status = \''+m[0]+'\'"><b>&nbsp; '+m[0]+' &nbsp;</b></a></td></tr><tr><td colspan="2" bgcolor="#CCCCCC" height="1"></td></tr>'
}
str+='</table>'
str+='</div>'
document.all.layer2.innerHTML=str
}

function sil(){
clearTimeout(sayac);
sayac = setTimeout("menuGizle()",10);
}
function menuGizle(){
document.all.layer.innerHTML=""
document.all.layer2.innerHTML=""
}
function menuGizle2(){
document.all.layer2.innerHTML=""
}

function uzeri(){
clearTimeout(sayac);
}










function accimage(icer,w,h) {
var win;
var h, w, x4, y4;
var x4 = screen.width/2 - (w/2);
var y4 = screen.height/2 - (h/2);
win = window.open('','', 'height='+h+',width='+w+',scrollbars=0,resizable=1,menubar=0,toolbar0,status=0,location=0,directories=0,left=' + x4 + ',top=' + y4 + '');
win.document.write ('<html><head><title>.:YILDIRIM YAYINLARI:.</title>' +
'<META content="text/html; charset=windows-1254" http-equiv=Content-Type>' +
'<link rel="stylesheet" href="css/default.css" type="text/css"></head>'+
'<body bgcolor="#000000" text="#000000" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">' +
'<table width="100%" border="0" cellspacing="0" cellpadding="0" height="100%"><tr>'+
'<td align="center" ><a href="javascript:parent.close();"><img src="'+icer+'" border="0" alt="pencereyi kapatmak için resme tıklayınız."></a></td>'+
	'</tr></table></body></html>');

}

function up() {
document.all.kayik.direction = "up";
}
function down() {
document.all.kayik.direction = "down";
}


function isEmpty(s){
  return ((s == null)||(s.length == 0))
}

function rtrim(text){
  var lastChar=text.substring(text.length-1, text.length);
  while(lastChar==" "){
    text=text.substring(0, text.length-1);
    lastChar=text.substring(text.length-1, text.length);}
  return text;	
}
function checkString(f,fieldname,l){
  var value=f.value;
  var result=!isEmpty(rtrim(value));
  if(!result)alert("Burası zorunlu bir alandır. Lütfen "+fieldname+" giriniz.");
  if(result){
    result=(value.length>=l)
    if(!result)alert("Lütfen en az " + l + " karakter giriniz.");}
  if(!result)f.focus();
  return(result);
}

function checkEmail(f){
var x=f.value;
var result=(x.search(new RegExp("^\\S+@\\S+\\.\\S+$")));
if(result!=0){
    alert("Lütfen e-mail adresinizi adsoyad@alanadı.com gibi bir formatta giriniz.");
    f.focus();
    return false}
else
    return true;
}
function yan(){
document.all.yan.style.top = document.body.scrollTop + 127;
}



function startclock()
{
var thetime=new Date();

var nhours=thetime.getHours();
var nmins=thetime.getMinutes();
var nsecn=thetime.getSeconds();
var nday=thetime.getDay();
var nmonth=thetime.getMonth();
var ntoday=thetime.getDate();
var nyear=thetime.getYear();
var AorP=" ";

if (nhours>=12)
    AorP=" ";
else
    AorP=" ";

if (nhours>=13)
    nhours-=12;

if (nsecn<10)
 nsecn="0"+nsecn;

if (nmins<10)
 nmins="0"+nmins;

if (nday==0)
  nday="Pazar";
if (nday==1)
  nday="Pazartesi";
if (nday==2)
  nday="Salı";
if (nday==3)
  nday="Çarşamba";
if (nday==4)
  nday="Perşembe";
if (nday==5)
  nday="Cuma";
if (nday==6)
  nday="Cumartesi";

nmonth+=1;

if (nyear<=99)
  nyear= "19"+nyear;

if ((nyear>99) && (nyear<2000))
 nyear+=1900;

document.all.saat.innerHTML=nhours+": "+nmins+": "+nsecn+" "+AorP+" "+nday+", "+ntoday+"/"+nmonth+"/"+nyear+' &nbsp;';
setTimeout('startclock()',1000);
}  


function acc(icer,w,h) {
var h, w, x4, y4;
x4 = screen.width/2 - (w/2);
y4 = screen.height/2 - (h/2);
window.open(icer,'', 'height='+h+',width='+w+',scrollbars=0,resizable=1,menubar=0,toolbar0,status=0,location=0,directories=0,left=' + x4 + ',top=' + y4 + '');
}
function accres(icer,w,h) {
var win;
var bName = navigator.appName;
var h, w, x4, y4;
if (navigator.appVersion.indexOf('4') != -1) {
x4 = screen.width/2 - (w/2);
y4 = screen.height/2 - (h/2);
win = window.open('','', 'height='+h+',width='+w+',scrollbars=0,resizable=1,menubar=0,toolbar0,status=0,location=0,directories=0,left=' + x4 + ',top=' + y4 + '');
} else {
win = window.open('', '', 'height='+h+',width='+w+',scrollbars=0,resizable=1,menubar=0,toolbar=0,status=0,location=0,directories=0,left=150,top=200');
}
win.document.write ('<html><head><title>ASGÜL COLOR - Renkli Fotoğraf Ticaret ve Sanayi Ldt. Şti.</title>' +
'<META content="text/html; charset=windows-1254" http-equiv=Content-Type>' +
'<link rel="stylesheet" href="css/default.css" type="text/css"></head>'+
'<body bgcolor="#FFFFFF" text="#000000" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">' +
'<table width="100%" border="0" cellspacing="0" cellpadding="0" height="100">'+
'<tr>'+
'<td><a href="javascript:parent.close();"><img src="'+icer+'" border="0" alt="pencereyi kapatmak için resme tıklayınız."></a></td>'+
'</tr>'+
'</table>'+
'</body>' +
'</html>');
	
}

//-->