/************************************************************************************
 Custom Functions & Modifications by Baris Cebeci bcebeci@ideefixe.com
************************************************************************************/

//****Custom functions Start****

//Scrolling functions
function scrollUp(){
	if(scrollit){
		if(Wcontent.y<0){
			Wcontent.moveBy(0,2)
			setTimeout("scrollUp()",30)
		}
	}
}
function scrollDown(){
	if(scrollit){
		if(Wcontent.y>(-Wcontent.h+Wcontentlayer.cb)){
			Wcontent.moveBy(0,-2)
			setTimeout("scrollDown()",30)	
		}
	}
}

function pageUp(){
		tdist=300 //350 full height ama biraz eksik page up,down ediyoruz.
		if(Wcontent.y<0){
			if(-Wcontent.y<tdist){tdist=-Wcontent.y}
			else {tdist=300}
		Wcontent.slideBy(0,tdist,30,30)
		}
}
function pageDown(){
		tdist=300
		if(Wcontent.y>(-Wcontent.h+Wcontentlayer.cb)){
			if((Wcontent.h+Wcontent.y)-Wcontentlayer.cb<tdist){tdist=(Wcontent.h+Wcontent.y)-Wcontentlayer.cb}
			else{tdist=300}
		Wcontent.slideBy(0,-tdist,30,30)
		}
}


//Scrolling functions end


//ImageOver
function iswap(Wlayer,imgName,imgNew){
	eval(Wlayer+'.ref.images[imgName].src='+imgNew+'.src')
}
//Image Over End

//****Custom functions End****
