//adds and event listener across major browser versions
function addEvent( obj, type, fn )
{
if ( obj.addEventListener )
{
obj.addEventListener( type, fn, true );
}
else if ( obj.attachEvent )
{
obj.attachEvent( "on" + type, fn );
}
else
{
obj["on" + type] = fn;
}
}
//removes event listeners across major browser versions
function removeEvent( obj, type, fn )
{
if ( obj.removeEventListener )
{
obj.removeEventListener( type, fn, true );
}
else if ( obj.detachEvent )
{
obj.detachEvent( "on" + type, fn );
}
else
{
delete obj["on" + type];
}
}
function divClickHandler()
{
var req = swfobject.hasFlashPlayerVersion("$PlayerVersion");
var id = "video1";
var node = '<div id="cs_noexpressUpdate">'
+ '<p align="center">The Camtasia Studio video content presented here </p><p align="center"> requires JavaScript to be enabled and the latest version </p><p align="center">of the Adobe Flash Player. If you are you using </p><p align="center">a browser with JavaScript disabled please enable it now.</p><p align="center"> Otherwise, please update your version of the </p><p align="center">free Flash Player by <a href="http://www.adobe.com/go/getflashplayer">downloading here</a>. </p>'