


// Drop-in content box- By Dynamic Drive
// For full source code and more DHTML scripts, visit http://www.dynamicdrive.com
// This credit MUST stay intact for use

var ie=document.all
var dom=document.getElementById
var ns4=document.layers

var bouncelimit=32 //(must be divisible by 8)
var direction="left"

function initbox(){
if (!dom&&!ie&&!ns4)
return
cen=(ie)? document.body.clientWidth/2-155 : (dom)?window.innerWidth/2-155  : window.innerWidth/2-155
crossobj=(dom)?document.getElementById("dropin").style : ie? document.all.dropin : document.dropin
scroll_top=(ie)? document.body.scrollTop : window.pageYOffset
crossobj.top=scroll_top-250
crossobj.width=310
crossobj.left=cen

crossobj.visibility=(dom||ie)? "visible" : "show"
dropstart=setInterval("dropin()",50)
}

function dropin(){
scroll_top=(ie)? document.body.scrollTop : window.pageYOffset
if (parseInt(crossobj.top)<125+scroll_top)
crossobj.top=parseInt(crossobj.top)+40
else{
clearInterval(dropstart)
bouncestart=setInterval("bouncein()",50)
}
}

function bouncein(){
crossobj.top=parseInt(crossobj.top)-bouncelimit
if (bouncelimit<0)
bouncelimit+=8
bouncelimit=bouncelimit*-1
if (bouncelimit==0){
clearInterval(bouncestart)
}
}

function dismissbox(){
if (window.bouncestart) clearInterval(bouncestart)
crossobj.visibility="hidden"
}





function updateWin(url) {
	updateWindow = window.open(url,'update','toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=0,resizable=1,width=455,height=570');
 }

function openindex(width,height,theurl) { 
	OpenWindow=window.open(theurl, "newwin", "height="+height+", width=" + width + ",toolbar=no,scrollbars=" + 1 + ",menubar=no,resizable=yes");
self.name="main";
}
		 
function doPopup1() {
	window.open("/regpopup.cfm", "pop", "width=310 height=340,scrollbars=no,menubar=no");
}


function doPopup() {


var info='<TABLE WIDTH=310 BGCOLOR="#000000" CELLPADDING=4 CELLSPACING=0"><TR><TD><TABLE BGCOLOR="#FFFFCC" CELLSPACING=0 CELLPADDING=5><TR><TD>'
+ '<DIV CLASS="header" ALIGN="center">ÖNEMLİ NOT!</DIV>'
+ '<P ALIGN="Center"> Web Sitemizde yer alan firmalar,<BR>katılım önceliğine göre sıralanacak ve ilk katılanlar<BR> kendi sektöründe üstlerde yer alacaktır<BR> <BR>Bu site en iyi 1024x768 çözünürlükte izlenebilir. <BR>For the best view please adjust your resolution 1024 x 768</P>'
+ '<P><B>...Web Sitemiz henüz yapım aşamasındadır...</B>'
+ '<UL>'
+ '<LI>Tüm 4.Sanayi Sitesi Kuruluşları</LI>'
+ '<LI>Hammadde Sağlayıcılar</LI>'
+ '<LI>İhracat yapmak isteyen imalatçılar</LI>'
+ '<LI>Diğer Tüm Küçük ve Orta Ölçekli İşletmeler</LI>'
+ '</UL></P>'
+ '<P ALIGN="Center"><a href="/gozdeweb.com"><b></b></a> Hizmetinizdeyiz!</p>'
+ '<P ALIGN="Center"><font size=3><a href="/register.cfm"><B></B></A>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href=javascript:dismissbox()><b>Kapat</b></a></font></p>'
+ '</TD></TR></TABLE></TD></TR></TABLE>';
if (ie) {
	document.all.dropin.innerHTML = info;
	document.all.dropin.left='200';
  }	
  	else if (ns4) {
		document.layers['dropin'].document.open();
		document.layers['dropin'].document.write(info);
		document.layers['dropin'].document.close();
	}
	else if (dom) {
		document.getElementById('dropin').innerHTML= info;
	}


initbox();
}