<!--start flash detecting script-->
<!-- Hide script from old browsers
var hasFlash = false            
var skipFlashURL = "http://www.lynnkitesailing.co.nz/htmlv/"  
               

//Check for flash if browser is netscape
if((navigator.appName == "Netscape")||(navigator.appName == "Opera")){

for(i=0; i<navigator.plugins.length; i++){

if(navigator.plugins[i].name == "Shockwave Flash"){

hasFlash = true

	}

}

}

//Check for flash if browser is IE

else if(navigator.appName == "Microsoft Internet Explorer"){

document.writeln("<script language='VBscript'>")
document.writeln('\'Test to see if VBScripting works')
document.writeln("detectableWithVB = False")
document.writeln("If ScriptEngineMajorVersion >= 2 then")
document.writeln("   detectableWithVB = True")
document.writeln("End If")
document.writeln('\'This will check for the plugin')
document.writeln("Function detectActiveXControl(activeXControlName)")
document.writeln("   on error resume next")
document.writeln("   detectActiveXControl = False")
document.writeln("   If detectableWithVB Then")
document.writeln("      detectActiveXControl = IsObject(CreateObject(activeXControlName))")
document.writeln("   End If")
document.writeln("End Function")
document.writeln("</scr" + "ipt>")
hasFlash = detectActiveXControl("ShockwaveFlash.ShockwaveFlash.1")

	}				

//If visitor doesn't have flash skip intro

if(!hasFlash){

document.location = skipFlashURL

}

//End script hiding -->


<!--finish flash detecting script-->
<!-- script for flash -->

<!--Script for flash-->
window.onload = function() {
							functiaMea();
							}
    function functiaMea() {
     	obiecte = document.getElementsByTagName("object");
     	for (var i = 0; i < obiecte.length; i++)
	   {
 		 obiecte[i].outerHTML = obiecte[i].outerHTML;
	   }
}
<!--end of flash script-->

