function newImage(arg) {
	if (document.images) {
		rslt = new Image();
		rslt.src = arg;
		return rslt;
	}
}

function changeImages() {
	if (document.images && (preloadFlag == true)) {
		for (var i=0; i<changeImages.arguments.length; i+=2) {
			document[changeImages.arguments[i]].src = changeImages.arguments[i+1];
		}
	}
}

var preloadFlag = false;
function preloadImages() {
	if (document.images) {
		id9ekim_web_04_over = newImage("images/9ekim-web_04-over.gif");
		id9ekim_web_06_over = newImage("images/9ekim-web_06-over.gif");
		id9ekim_web_07_over = newImage("images/9ekim-web_07-over.gif");
		id9ekim_web_10_over = newImage("images/9ekim-web_10-over.gif");
		id9ekim_web_13_over = newImage("images/9ekim-web_13-over.gif");
		id9ekim_web_14_over = newImage("images/9ekim-web_14-over.gif");
		id9ekim_web_15_over = newImage("images/9ekim-web_15-over.gif");
		id9ekim_web_16_over = newImage("images/9ekim-web_16-over.gif");
		preloadFlag = true;
	}
}
function popup(){
// setup a controlled popup window
	// state the web address, window name, width and height of popup
	var myURL = (arguments[0])? arguments[0]:'basvuru.aspx', popupName = (arguments[1])? arguments[1]:'mySite', popupWidth = 800, popupHeight = 600, mypopup;
	// calculate the left edge (x position) of the popup window; if we can't get the screen width then make it 20 pixels (after the : )
	var popupX = (screen.availWidth)? ((screen.availWidth - popupWidth) / 2): 20;
	// calculate the top edge (y position) of the popup window; if we can't get the screen heigth then make it 20 pixels
	var popupY = (screen.availHeight)? ((screen.availHeight - popupHeight) / 3):20;
	// popup window chrome details: 0 is same as no, 1 is same as yes
	var details = 'toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=1,resizable=1,width='+popupWidth+',height='+popupHeight+',top='+popupY+',left='+popupX;
	// now create the popup and assign it to a variable
	mypopup = window.open(myURL,popupName,details);
	// give focus to our popup window, important if it's in the background
	mypopup.focus();
}