All pastes #975939 Raw Edit

Something

public text v1 · immutable
·published 2008-04-07 21:05 UTC
rendered paste body
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title></title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">

<link rel="stylesheet" type="text/css" href="css/main.css">

<script type="text/javascript" src="js/swfobject.js"></script>
<style type="text/css">
<!--
.style1 {color: #FFFFFF}
.style2 {font-weight: bold}
-->
</style>
</head>

<body>


<div class="style1" id="flashcontent">

</div>

<script type="text/javascript">
		
		var so = new SWFObject("swf/resize.swf", "sotester", "100%", "800", "8", "#000000");
		so.addParam("base", "swf");
		so.addParam("allowScriptAccess", "always");
		so.write("flashcontent");

    var isInternetExplorer = navigator.appName.indexOf("Microsoft") != -1;
    // Handle all the FSCommand messages in a Flash movie.
    function header_DoFSCommand(command, args) {
            var headerObj = isInternetExplorer ? document.all.header : document.header;
            if(command=="setFlashHeight") {
                    document.getElementById('sotester').style.height = Number( args );      
            }
    }
    // Hook for Internet Explorer.
    if (navigator.appName && navigator.appName.indexOf("Microsoft") != -1 && navigator.userAgent.indexOf("Windows") != -1 && navigator.userAgent.indexOf("Windows 3.1") == -1) {
            document.write('<script language=\"VBScript\"\>\n');
            document.write('On Error Resume Next\n');
            document.write('Sub header_FSCommand(ByVal command, ByVal args)\n');
            document.write('        Call header_DoFSCommand(command, args)\n');
            document.write('End Sub\n');
            document.write('</script\>\n');
    }


		function setFlashHeight(h){
		
		alert(h);
		document.getElementById('sotester').style.height = Number( h );

}
		// ]]>
	</script>
    
</body>
</html>