//* Customizations;
var divname="soultip";
var divInnername="soultipinner";
var ret;

//* Fix SoulTip Coordinates
var CoordLeft=765;
var CoordRight=0;

function fm_MyX(){ // Mouse Coords
  var myWidth = 0, myHeight = 0;
  if( typeof( window.innerWidth ) == 'number' ) {
    //Non-IE
    myWidth = window.innerWidth;
    myHeight = window.innerHeight;
  } else if( document.documentElement && ( document.documentElement.clientWidth || document.documentElement.clientHeight ) ) {
    //IE 6+ in 'standards compliant mode'
    myWidth = document.documentElement.clientWidth;
    myHeight = document.documentElement.clientHeight;
  } else if( document.body && ( document.body.clientWidth || document.body.clientHeight ) ) {
    //IE 4 compatible
    myWidth = document.body.clientWidth;
    myHeight = document.body.clientHeight;
  }
  if(myWidth<765)myWidth=765;
//alert(myWidth);
  return myWidth;
}
function fm_findObj(n, d) {
  var p,i,x;
  if(!d) d=document;
  if((p=n.indexOf("?"))>0&&parent.frames.length) {
    d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);
  }
  if(!(x=d[n])&&d.all) x=d.all[n];
  for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
  for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=fm_findObj(n,d.layers[i].document);
  if(!x && d.getElementById) x=d.getElementById(n);
  return x;
}
function fm_help(visible){ // Show-Hide 
  var desc = '<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" width="155" height="80">';
  desc = desc + ' <param name="movie" value="images/banner/155x80.swf">';
  desc = desc + ' <param name="quality" value="high">';
  desc = desc + ' <param name="menu" value="false">';
  desc = desc + ' <embed src="images/banner/155x80.swf" width="155" height="80" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" menu="false" vmode="transparent"></embed>';
  desc = desc + ' </object>';
  var thisObj = fm_findObj(divname);
  if(visible=="show"){
    var innerObj = fm_findObj(divInnername);
    innerObj.innerHTML = desc;
    thisObj.style.display = "block";
    var x = fm_MyX();
    thisObj.style.left=((x-CoordLeft)/2)+CoordLeft+"px";
    thisObj.style.top=0+CoordRight+"px";
  }else{
    thisObj.style.display="none";
  }
}
// ***************************
// var desc = window.event.srcElement.help;
// ***************************
//document.onload=fm_help("<b>RUMELİ Bölge</b><br>Düzey Rumeli<hr size=1>İletişim bilgileri için tıklayın.");
ret=fm_help('hide');
//document.onresize=fm_help('show');

