function LetMeGo(){
	var goID = document.getElementById('go_id');
	// alert(goID);
	document.location.href=goID.value
}
function GoGoGo(){
	document.location.href=formQGo.go_id.value
}
function navigate2(url) {
  document.location.href=url;
}
function LetMeNext(){
	var nextID = document.getElementById('next_id');
	document.location.href=nextID.value
}
function ShowMyMenu(ths) {
	var lx = document.getElementById(ths);
	if (lx) {
		lx.style.display = "";
		HideForm();
	}
}
function HideAll() {
	//alert('a');
	var lx = document.getElementById('sureler');
	if (lx) {
		lx.style.display = "none";
		ShowForm(-1);
  }
}
function PrintPage() {
	window.print();
}

function HideForm() {
 	var oF = document.getElementById('nForm');
 	if (oF) {
 		var selects = oF.getElementsByTagName('SELECT');
		for (var i = 0; i < selects.length; i++) {
 			selects[i].style.visibility = "hidden";
 		}
 	}
}

function ShowForm(ind) {
  if (ind < 0) {
		var oF = document.getElementById('nForm');
		if (oF) {
 			var selects = oF.getElementsByTagName('SELECT');
			for (var i = 0; i < selects.length; i++) {
 				selects[i].style.visibility = "visible";
 			}
 		}
 	 	var oH = document.getElementById('nHelp');
 		if (oH) {
      oH.style.display = 'none';
 		}
 	 	var oS = document.getElementById('fxDesc');
 		if (oS) {
      oS.style.display = 'none';
 		}
  }
}


function RenderFlash(movie,width,height,params,id,stp) {
  this.width = width;
  this.height = height;
  this.movie = movie;
  this.params = params;
  this.id = id;
  this.stp = stp;
	var flr = "<object "
	if (this.id == 'btn') {
		flr += " width=\""+this.width+"\" height=\""+this.height+"\" classid=\"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000\" codebase=\"https://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0\">"
  } else {
		flr += " id=\""+this.id+"\" width=\""+this.width+"\" height=\""+this.height+"\" classid=\"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000\" codebase=\"https://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0\">"
	}
	//name=\""+this.id+"\"
  flr += "<param name=\"Movie\" value=\""+this.movie+"\" />"+
		"<param name=\"FlashVars\" value=\""+this.params+"\" />"+
		"<param name=\"BGColor\" value=\"#FFFFFF\" />"+
		"<param name=\"Menu\" value=\"False\" />"+
		"<param name=\"allowscriptaccess\" value=\"always\" />"+
		"<param name=\"allowfullscreen\" value=\"True\" />"+
		"<param name=\"WMode\" value=\"transparent\" />"+
		"<param name=\"Quality\" value=\"High\" />"+
		"<param name=\"Scale\" value=\"exactfit\" />";

  if (this.stp == '1') {
    flr += "<param name=\"play\" value=\"false\" />"+
    "<embed play=false swliveconnect=\"true\" ";
	} else {
    flr += "<embed ";
	}
	if (this.id == 'btn') {
	//
  } else {
  	flr += "name=\""+this.id+"\" ";
  	// id=\""+this.id+"\" ";
	}
	flr += " src=\""+this.movie+"\" type=\"application/x-shockwave-flash\" bgcolor=\"#FFFFFF\" width=\""+this.width+"\" height=\""+this.height+"\" pluginspage=\"https://www.macromedia.com/go/getflashplayer\" FlashVars=\""+this.params+"\" Menu=\"False\" Quality=\"High\" WMode=\"transparent\" Scale=\"exactfit\" />"+
		"</object>";
    document.write(flr);
	}