//******************** kısaltma *************************************//

	function dgi(elm) {
		return document.getElementById(elm);
	}

//******************** kısaltma son *************************************//

//******************** Ekran ölçülerini bul*************************//
function myWidth() {
	if (typeof(window.innerWidth) == 'number') {
		return window.innerWidth;
	} else if (document.documentElement && (document.documentElement.clientWidth || document.documentElement.clientHeight)) {
		return document.documentElement.clientWidth;
	} else if (document.body && (document.body.clientWidth || document.body.clientHeight)) {
		return document.body.clientWidth;
	}
}

function myHeight() {
	if (typeof(window.innerWidth) == 'number') {
		return window.innerHeight;
	} else if (document.documentElement && (document.documentElement.clientWidth || document.documentElement.clientHeight)) {
		return document.documentElement.clientHeight;
	} else if (document.body && (document.body.clientWidth || document.body.clientHeight)) {
		return document.body.clientHeight;
	}
}
//******************** Ekran ölçülerini bul sonu*************************//

//******************** Flash *******************************************//
function flash(file,width,height,sistem){
document.writeln("<OBJECT classid='clsid:D27CDB6E-AE6D-11cf-96B8-444553540000' codebase='https://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0' WIDTH='"+width+"' HEIGHT='"+height+"' id='contents' ALIGN=''>");
document.writeln("<PARAM NAME=movie value='"+file+"' />");
document.writeln("<PARAM NAME=quality VALUE=high>");
document.writeln("<PARAM NAME=wmode VALUE=transparent>");
document.writeln("<PARAM NAME=flashvars id=objflashvars VALUE=sistem="+sistem+">");	
document.writeln("<embed src='"+file+"' quality='high' bgcolor='#ffffff' width='"+width+"' height='"+height+"' name='contents' align='middle' allowScriptAccess='sameDomain'wmode='transparent' type='application/x-shockwave-flash' pluginspage='https://www.macromedia.com/go/getflashplayer' flashvars='sistem="+sistem+"' />");
document.writeln("</OBJECT>");
}
//******************** Flash son *******************************************//
