

function vscroll_data0()
{
	this.enable_visual_design_mode = true;
 	this.container_width = 211
	this.container_height = "auto"
	this.top_pause_offset = 10
	this.initial_scroll_delay = 0
	this.animation_delay = 98
	this.animation_jump = 2
	this.animation_delay_mac = 100
	this.animation_jump_mac = 10
	this.container_styles = ""
	this.item_link_styles = "font-size:11px"
	this.item_link_hover_styles = "text-decoration:none; "
	this.item_styles = "margin-bottom:7px;"

}

function mClk(url){ 
	location = url ;
	
}

var baseopacity=70
var baseopacity2=80


function temiz2(which2){
imgobj=which2
browserdetect=which2.filters? "ie" : typeof which2.style.MozOpacity=="string"? "mozilla" : ""
instantset(baseopacity2)
highlighting=setInterval("gradualfade(imgobj)",50)
}

function kapat2(which2){
cleartimer()
instantset(baseopacity2)
}






function temiz(which2){
imgobj=which2
browserdetect=which2.filters? "ie" : typeof which2.style.MozOpacity=="string"? "mozilla" : ""
instantset(baseopacity)
highlighting=setInterval("gradualfade(imgobj)",50)
}

function kapat(which2){
cleartimer()
instantset(baseopacity)
}

function instantset(degree){
if (browserdetect=="mozilla")
imgobj.style.MozOpacity=degree/100
else if (browserdetect=="ie")
imgobj.filters.alpha.opacity=degree
}

function cleartimer(){
if (window.highlighting) clearInterval(highlighting)
}

function gradualfade(cur2){
if (browserdetect=="mozilla" && cur2.style.MozOpacity<1)
cur2.style.MozOpacity=Math.min(parseFloat(cur2.style.MozOpacity)+0.1, 0.99)
else if (browserdetect=="ie" && cur2.filters.alpha.opacity<100)
cur2.filters.alpha.opacity+=10
else if (window.highlighting)
clearInterval(highlighting)
}

var eventHandler = function(){
	var args = this.eventHandler.arguments;
	if(document.attachEvent){
		args[0].attachEvent('on'+ args[1], args[2]);
	}
	else if(document.addEventListener){
		args[0].addEventListener(args[1], args[2], false);
	}
	else{
		return;
	}
};

var $ = function(o){
	return document.getElementById(o);
}


var ALICO = function(){
	var alico = {
		page : function(){
			var p = {
				getSize : function(){
					var _window = {'width' : 0, 'height' : 0};

					if(self.innerHeight){
						_window.width	= self.innerWidth;
						_window.height	= self.innerHeight;
					}
					else if(document.documentElement && document.documentElement.clientHeight){
						_window.width	= document.documentElement.clientWidth;
						_window.height	= document.documentElement.clientHeight;
					}
					else if(document.body){
						_window.width	= document.body.clientWidth;
						_window.height	= document.body.clientHeight;
					}

					return _window;
				},

				getScrollTop : function(){
					var _top;

					if (document.documentElement && document.documentElement.scrollTop)
						_top = document.documentElement.scrollTop;
					else if (document.body)
						_top = document.body.scrollTop;

					return _top;
				}
			}

			return p;
		},

		divCentered : function(w,h){
			if($('ana')){
				//$('ana').style.top	= (alico.page().getScrollTop() + (alico.page().getSize().height - h)) / 2 +'px';
				// İSTERSEN Burayıda Kullan Bu Sefer Divi Sayfanın Ortasına Yapıştırır
				$('ana').style.left	= (alico.page().getSize().width - w) / 2 +'px';
			}
		}
	}

	return alico;
}

eventHandler(window,	'load',		function(){ ALICO().divCentered(789,475); } );
eventHandler(window,	'resize',	function(){ ALICO().divCentered(789,475); } );
eventHandler(window,	'scroll',	function(){ ALICO().divCentered(789,475); } );




//:)



