
function pop() {
  document.getElementById('mainDiv').style.display='block'; 
  return false;
}
function hidelinux() {
  document.getElementById('mainDiv').style.display='none';  
  return false;
}
function hide1(id) {
  document.getElementById('mainDiv').style.display='none';
  location.href=id;
  return false;
}
function hide2(id) {
  document.getElementById('mainDiv').style.display='none';
  location.href=id;
  return false;
}
function hide3(id) {
  document.getElementById('mainDiv').style.display='none';
  location.href=id;
  return false;
}
function hide4(id) {
  document.getElementById('mainDiv').style.display='none';
  location.href=id;
  return false;
}
function hide5(id) {
  document.getElementById('mainDiv').style.display='none';
  location.href=id;
  return false;
}

//second

function pop2() {
  document.getElementById('mainsecondDiv').style.display='block';  
  return false
}
function hidewindow() {
  document.getElementById('mainsecondDiv').style.display='none';  
  return false
}
function hide3(id) {
  document.getElementById('mainsecondDiv').style.display='none';
  location.href=id;
  return false
}
function hide4(id) {
  document.getElementById('mainsecondDiv').style.display='none';
  location.href=id;
  return false
}
function hide5(id) {
  document.getElementById('mainsecondDiv').style.display='none';
  location.href=id;
  return false
}
function hide6(id) {
  document.getElementById('mainsecondDiv').style.display='none';
  location.href=id;
  return false
}
function hide7(id) {
  document.getElementById('mainsecondDiv').style.display='none';
  location.href=id;
  return false
}


//third

var counter = 0;
var counter1 = 0;
var showImageFor = 2; //seconds
function showImage_right(){
  if(counter == images_right.length){
    counter = 0;
  }
  if(counter1 == url_link.length){
    counter1 = 0;
  }
  document.images.slide1.src = images_right[counter]; //for the right hand side slide 
  var xyz=  url_link[counter1];
  document.getElementById('advurl').href =xyz;
  document.getElementById('advurl').target="_blank";  
  counter++;
  counter1++;
}
function runImages(){
  milliseconds = showImageFor * 1000;
  setInterval("showImage_right()", milliseconds);  
}

//forth

function MM_openBrWindow(theURL,winName,features) { //v2.0
window.open(theURL,winName,features);
}

//fifth

function isLegal() 
{
 var invalids = "!@#$%^&*()~,'<.>/?;:\|";
 txt=document.check.txtdomain.value;
 for(i=0; i<invalids.length; i++) 
 {
  if(txt.indexOf(invalids.charAt(i)) >= 0 ) 
  {
   alert("Please Enter A VALID Domain");
   document.check.txtdomain.focus();
   return false;
  }
 }
return true;
}
