function MailIt(Ext,Dom,User){
str1 = 'mailto:';
window.location.href = str1+User+'@'+Dom+'.'+Ext;
}
function HideAll(){
for (i=1;i<8;i++) {
clearTimeout(TimerID);
document.getElementById("SubMenu"+i).style.display='none';
document.getElementById("Menu"+i).style.color = '';
if(document.getElementById('Menu'+i).href.toUpperCase() != document.location.href.toUpperCase()) {
document.getElementById("Menu"+i).className = 'TopMenu';
};
document.getElementById("Menu"+i).style.backgroundColor = '';
document.getElementById("Menu"+i).style.borderLeft = '1px solid white';
document.getElementById("Menu"+i).style.borderRight = '1px solid black';
};
};
var TimerID;
function yukle(gelen){
//alert(document.getElementById(gelen).offsetLeft);
clearTimeout(TimerID);
HideAll();
document.getElementById("Sub"+gelen).style.left = document.getElementById("pointer").offsetLeft+document.getElementById(gelen).offsetLeft;
document.getElementById("Sub"+gelen).style.display = 'block';
document.getElementById(gelen).style.color = 'white';
document.getElementById(gelen).style.backgroundColor = '#555555';
if(document.getElementById(gelen).href.toUpperCase() != document.location.href.toUpperCase()) {
document.getElementById(gelen).style.borderLeft = '1px solid black';
document.getElementById(gelen).style.borderRight = '1px solid white';
};
};
function MailIt1(){
str1 = 'mailto:ip';
str2 = 'ekli@';
str3 = 'ipekli.com';
window.location.href = str1+str2+str3;
}
function MailIt2(){
str1 = 'mailto:ipek';
str2 = 'lirulman@';
str3 = 'hotmail.com';
window.location.href = str1+str2+str3;
}
function controlform(){
 if (document.formio.adsoyad.value == "") {
   alert("Lütfen Ad ve Soyad bilginizi giriniz.");
   document.formio.adsoyad.focus();
   return false;
 };
 if (document.formio.email.value == "") {
   alert("Lütfen e-mail alanını doldurunuz.");
   document.formio.email.focus();
   return false;
 };
  if (document.formio.email.value.indexOf("@") == -1 || document.formio.email.value.indexOf(".") == -1) {
   alert("Lütfen geçerli bir e-mail adresi giriniz.");
   document.formio.email.focus();
   return false;
 };
 if (document.formio.mesaj.value == "") {
   alert("Lütfen mesajınızı yazınız.");
   document.formio.mesaj.focus();
   return false;
 };
};
function controlformSiparis(){
 if (document.formio.adsoyad.value == "") {
   alert("Lütfen Ad ve Soyad bilginizi giriniz.");
   document.formio.adsoyad.focus();
   return false;
 };
 if (document.formio.email.value == "") {
   alert("Lütfen e-mail alanını doldurunuz.");
   document.formio.email.focus();
   return false;
 };
  if (document.formio.email.value.indexOf("@") == -1 || document.formio.email.value.indexOf(".") == -1) {
   alert("Lütfen geçerli bir e-mail adresi giriniz.");
   document.formio.email.focus();
   return false;
 };
 if (document.formio["Seviye Tespit Sınavına Hazırlık Soru Bankası"].value == "" && document.formio["Resimli Flip Over/Çevir Kullan Sözlük"].value == "" && document.formio["Reading Pleasure"].value == "" && document.formio["Yaprak Testler"].value == "" && document.formio["English Workshop"].value == "") {
   alert("Lütfen sipariş vermek istediğiniz yayınların adetlerini yazınız.");
   document.formio["Seviye Tespit Sınavına Hazırlık Soru Bankası"].focus();
   return false;
 };
 if (document.formio.adres.value == "") {
   alert("Lütfen adresinizi yazınız.");
   document.formio.adres.focus();
   return false;
 };
};

function openwin(winame,file,height,width,skrol,menu,risayz)  {
window.open(file,winame,"scrollbars="+skrol+",toolbar="+menu+",resizable="+risayz+",menubar="+menu+",width="+width+",height="+height);
};