	function getFlashObject(movieName)
	{
	  if (window.document[movieName]) 
	  {
		return window.document[movieName];
	  }
	  if (navigator.appName.indexOf("Microsoft Internet")==-1)
	  {
		if (document.embeds && document.embeds[movieName])
		  return document.embeds[movieName]; 
	  }
	  else // if (navigator.appName.indexOf("Microsoft Internet")!=-1)
	  {
		return document.getElementById(movieName);
	  }
	}
	
	function RewindFlash()
	{
		var flash=getFlashObject("myFlash");
		flash.Rewind();
	}
			
	function ZoominFlash()
	{
		var flash=getFlashObject("myFlash");
		flash.Zoom(90);
	}
	
	function ZoomoutFlash()
	{
		var flash=getFlashObject("myFlash");
		flash.Zoom(110);
	}
	
	function ZoombackFlash()
	{
		var flash=getFlashObject("myFlash");
		flash.Zoom(0);
	}
	
	function NextFrameFlash()
	{
		var flash=getFlashObject("myFlash");
		// 4 is the index of the property for _currentFrame
		var currentFrame=flash.TGetProperty("/", 4);
		var nextFrame=parseInt(currentFrame);
		flash.GotoFrame(nextFrame);	
	}
	
	function PrevFrameFlash()
	{
		var flash=getFlashObject("myFlash");
		// 4 is the index of the property for _currentFrame
		var currentFrame=flash.TGetProperty("/", 4);
		var prevFrame=parseInt(currentFrame)-2;
		flash.GotoFrame(prevFrame);
	}
	
	function fixedSize(url,name,features) {
		//This launches a new window and then
		//focuses it if window.focus() is supported.
		win = window.open(url,name,features);
	}
	
	function Launch(page) { 
	OpenWin = this.open(page, "KirupaStyle", "toolbar=no,menubar=no,location=no,scrollbars=yes,resizable=no,width=700,height=900"); 
	}
	
	function Launch_profil(page) { 
	OpenWin = this.open(page, "KirupaStyle", "toolbar=no,menubar=no,location=no,scrollbars=yes,resizable=no,width=400,height=500"); 
	}

