﻿function KayitSilinsin(KayitText){
	if (confirm ("Kayıt Silinsin mi?\n\n" + KayitText)){
		return true;
	}else{
		return false;
	}

}



function Soru(TextMetin){
	if (confirm (TextMetin)){
		return true;
	}else{
		return false;
	}
}


function swfFile (file,w,h){
	document.write ('<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0" width="' + w + '" height="' + h + '">');
	document.write ('<param name="movie" value="' + file + '" />');
	document.write ('<param name="quality" value="high" />');
	document.write ('<embed src="' + file + '" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="' + w + '" height="' + h + '"></embed>');
	document.write ('</object>	');
}

var state = 'none';

function showhide(layer_ref) {

if (state == 'block') {
state = 'none';
}
else {
state = 'block';
}
if (document.all) { //IS IE 4 or 5 (or 6 beta)
eval( "document.all." + layer_ref + ".style.display = state");
}
if (document.layers) { //IS NETSCAPE 4 or below
document.layers[layer_ref].display = state;
}
if (document.getElementById &&!document.all) {
hza = document.getElementById(layer_ref);
hza.style.display = state;
}
} 
