<!--

function MM_openBrWindow(theURL,winName,features) { //v2.0

  window.open(theURL,winName,features);

}

//-->

function blinkIt() {

if (!document.all) return;

else {

for(i=0;i<document.all.tags('blink').length;i++){

s=document.all.tags('blink')[i];

s.style.visibility=(s.style.visibility=='visible')?'hidden':'visible';

}

}

}

function openpopup(){







window.open('http://www.shamsqatar.com/vb/','stylat','toolbar=yes,location=yes,status=yes,menubar=yes,scrollbars=yes,resizable=yes,width=640,height=480')

}



function get_cookie(Name) {

  var search = Name + "="

  var returnvalue = "";

  if (document.cookie.length > 0) {

    offset = document.cookie.indexOf(search)

    if (offset != -1) { 

      offset += search.length



      end = document.cookie.indexOf(";", offset);

  

      if (end == -1)

         end = document.cookie.length;

      returnvalue=unescape(document.cookie.substring(offset, end))

      }

   }

  return returnvalue;

}



function loadpopup(){

if (get_cookie('popped')==''){

openpopup()

document.cookie="popped=yes"

}

}



var popunder="http://www.forexfly.com/"





var winfeatures="width=778,height=480,scrollbars=1,resizable=1,toolbar=1,location=1,menubar=1,status=1,directories=0"



var once_per_session=1







function get_cookie(Name) {

  var search = Name + "="

  var returnvalue = "";

  if (document.cookie.length > 0) {

    offset = document.cookie.indexOf(search)

    if (offset != -1) { 

      offset += search.length



      end = document.cookie.indexOf(";", offset);

  

      if (end == -1)

         end = document.cookie.length;

      returnvalue=unescape(document.cookie.substring(offset, end))

      }

   }

  return returnvalue;

}



function loadornot(){

if (get_cookie('popunder')==''){

loadpopunder()

document.cookie="popunder=yes"

}

}



function loadpopunder(){

win2=window.open(popunder,"",winfeatures)

win2.focus()

}



if (once_per_session==0)

loadpopunder()

else

loadornot()



function MM_openBrWindow(theURL,winName,features) { 

  window.open(theURL,winName,features);

}


