function openWindow( link, target ) { newWindow = window.open( link, target ).focus(); // Make sure the window will come to front newWindow.focus(); // Double make sure the window will come to front return false; } // Flash resize functions function flashVortexSetFlashWidth( divId, newWidth ) { if ( newWidth != null ) { // is this usefull document.getElementById( divId ).style.width = newWidth + "px"; } } function flashVortexSetFlashHeight( divId, newHeight ) { if ( newHeight != null ) { document.getElementById( divId ).style.height = newHeight + "px"; } } // This function is called by the swf movies, parameters cannot be null function flashVortexSetFlashSize( divId, autoWidth, autoHeight, newWidth, newHeight ) { //alert ("This is a Javascript Alert"); if ( autoWidth == 1 ) { flashVortexSetFlashWidth( divId, newWidth ); // On the download page, if there is a download button if ( document.downloadForm ) { document.downloadForm.width.value = newWidth; } // On the download page, if there is a save example button if ( document.saveForm ) { document.saveForm.width.value = newWidth; } // On the download page, if there is an hosted .swf installation HTML code text area, replace W with new width value if ( document.hostedCodeForm ) { document.hostedCodeForm.hostedCode.value = document.hostedCodeForm.hostedCode.value.replace( 'W', newWidth ); } // On the download page, if there is a "trouble downloading" link if ( $( "a#trbl" ) ) { // Do not name this a#trouble because of weird Firefox 2.0 bug var newHref = $( "a#trbl" ).attr( "href" ) + "&width=" + newWidth; $( "a#trbl" ).attr( "href", newHref ); } // On the download page, if there is a "Advanced Installation Help" link if ( $( "a#installation" ) ) { var newHref = $( "a#installation" ).attr( "href" ) + "&width=" + newWidth; $( "a#installation" ).attr( "href", newHref ); } // On the download page, if there is an "about this file" section if ( $( "#aboutWidth" ) ) { $( "#aboutWidth" ).html( newWidth ).append( " px" ); } if ( $( "#aboutEasyHTML" ) ) { var newEasy = $( "#aboutEasyHTML" ).text().replace( 'W', newWidth ); $( "#aboutEasyHTML" ).text( newEasy ); } if ( $( "#aboutAdvancedHTML" ) ) { var newAdvanced = $( "#aboutAdvancedHTML" ).text().replace( /{\*swfWidth\*}/g, newWidth ); $( "#aboutAdvancedHTML" ).text( newAdvanced ); } } if ( autoHeight == 1 ) { flashVortexSetFlashHeight( divId, newHeight ); // On the download page, if there is a download button if ( document.downloadForm ) { document.downloadForm.height.value = newHeight; } // On the download page, if there is a save example button if ( document.saveForm ) { document.saveForm.height.value = newHeight; } // On the download page, if there is an hosted .swf installation HTML code text area, replace H with new height value if ( document.hostedCodeForm ) { document.hostedCodeForm.hostedCode.value = document.hostedCodeForm.hostedCode.value.replace( 'H', newHeight ); } // On the download page, if there is a "trouble downloading" link if ( $( "a#trbl" ) ) { // Do not name this a#trouble because of weird Firefox 2.0 bug var newHref = $( "a#trbl" ).attr( "href" ) + "&height=" + newHeight; $( "a#trbl" ).attr( "href", newHref ); } // On the download page, if there is a "Advanced Installation Help" link if ( $( "a#installation" ) ) { var newHref = $( "a#installation" ).attr( "href" ) + "&height=" + newHeight; $( "a#installation" ).attr( "href", newHref ); } // On the download page if there is an "about this file" section if ( $( "#aboutHeight" ) ) { $( "#aboutHeight" ).html( newHeight ).append( " px" ); } if ( $( "#aboutEasyHTML" ) ) { var newEasy = $( "#aboutEasyHTML" ).text().replace( 'H', newHeight ); $( "#aboutEasyHTML" ).text( newEasy ); } if ( $( "#aboutAdvancedHTML" ) ) { var newAdvanced = $( "#aboutAdvancedHTML" ).text().replace( /{\*swfHeight\*}/g, newHeight ); $( "#aboutAdvancedHTML" ).text( newAdvanced ); } } } function getFlashWidth( divId ) { return document.getElementById( divId ).style.width; } function getFlashHeight( divId ) { return document.getElementById( divId ).style.height; } function canResizeFlash() { var ua = navigator.userAgent.toLowerCase(); var opera = ua.indexOf("opera"); if ( document.getElementById ) { if( opera == -1 ) return true; else if( parseInt( ua.substr( opera + 6, 1 ) ) >= 7 ) return true; } return false; } function openPopup( page, width, height ) { // Set popup load animation $( "#popupContent" ).html( "



Loading...
" ); // Load content $( "#popupContent" ).load( page ); // Place black background $( "#popupBackground" ).width( $( document ).width() ) .height( $( document ).height() ) .show() .fadeTo( "slow", 0.33 ); // Compute position var x = ( $( window ).width() - width ) / 2; var y = $( window ).scrollTop() + ( ( $( window ).height() - height ) / 2 ); if ( x < 0 ) x = 0; if ( y < 0 ) y = 0; // Place popup $( "#popup" ).css( "left", x + "px" ) .css( "top", y + "px" ) .css( "width", width + "px" ) .css( "height", height + "px" ) .show(); $( "#popupContent" ).css( "height", ( height - 50 ) + "px" ); // 48 is height of both close buttons } // Make "if content loaded variable" function closePopup() { $( "#popupContent" ).html( "" ); $( "#popup" ).hide(); $( "#popupBackground" ).fadeOut( "slow" ); } document.writeln("\x3Cdiv align=\"center\"\x3E\x3Cdiv id=\"17_32\" style=\"width:137px;height:198px;\"\x3E\x3Cobject classid=\"clsid:d27cdb6e-ae6d-11cf-96b8-444553540000\" codebase=\"http:\/\/download.macromedia.com\/pub\/shockwave\/cabs\/flash\/swflash.cab#version=8,0,0,0\" width=\"137\" height=\"198\" align=\"middle\"\x3E\x3Cparam name=\"allowFullScreen\" value=\"false\" \/\x3E\x3Cparam name=\"movie\" value=\"http:\/\/www.flashvortex.com\/saves\/17_32.swf?divId=17_32\x26autoWidth=0\x26autoHeight=0\" \/\x3E\x3Cparam name=\"quality\" value=\"high\" \/\x3E\x3Cparam name=\"scale\" value=\"noscale\" \/\x3E\x3Cparam name=\"salign\" value=\"lt\" \/\x3E\x3Cparam name=\"wmode\" value=\"opaque\" \/\x3E\x3Cparam name=\"allowScriptAccess\" value=\"always\" \/\x3E\x3Cembed src=\"http:\/\/www.flashvortex.com\/saves\/17_32.swf?divId=17_32\x26autoWidth=0\x26autoHeight=0\" quality=\"high\" width=\"137\" height=\"198\" wmode=\"opaque\" align=\"middle\" scale=\"noscale\" salign=\"LT\" allowFullScreen=\"false\" allowScriptAccess=\"always\" type=\"application\/x-shockwave-flash\" pluginspage=\"http:\/\/www.macromedia.com\/go\/getflashplayer\" \/\x3E\x3C\/object\x3E\x3C\/div\x3E\x3C\/div\x3E\x3Cp\x3E\x3C\/p\x3E\x3Cdiv align=\"center\"\x3E\x3Cdiv id=\"editor57\" style=\"width:800px;height:2880px;\"\x3E\x3Cobject classid=\"clsid:d27cdb6e-ae6d-11cf-96b8-444553540000\" codebase=\"http:\/\/download.macromedia.com\/pub\/shockwave\/cabs\/flash\/swflash.cab#version=8,0,0,0\" width=\"800\" height=\"100%\" align=\"middle\"\x3E\x3Cparam name=\"allowFullScreen\" value=\"false\" \/\x3E\x3Cparam name=\"movie\" value=\"http:\/\/www.flashvortex.com\/images\/editor57.swf?divId=editor57\x26baseUrl=http%3A%2F%2Fwww.flashvortex.com%2F\x26generatorId=151\x26saveId=32\x26member=0\x26inEditor=1\x26price=%240.00\x26twoZero=0\x26autoWidth=0\x26autoHeight=1\" \/\x3E\x3Cparam name=\"quality\" value=\"high\" \/\x3E\x3Cparam name=\"scale\" value=\"noscale\" \/\x3E\x3Cparam name=\"salign\" value=\"lt\" \/\x3E\x3Cparam name=\"wmode\" value=\"opaque\" \/\x3E\x3Cparam name=\"allowScriptAccess\" value=\"always\" \/\x3E\x3Cembed src=\"http:\/\/www.flashvortex.com\/images\/editor57.swf?divId=editor57\x26baseUrl=http%3A%2F%2Fwww.flashvortex.com%2F\x26generatorId=151\x26saveId=32\x26member=0\x26inEditor=1\x26price=%240.00\x26twoZero=0\x26autoWidth=0\x26autoHeight=1\" quality=\"high\" width=\"800\" height=\"100%\" wmode=\"opaque\" align=\"middle\" scale=\"noscale\" salign=\"LT\" allowFullScreen=\"false\" allowScriptAccess=\"always\" type=\"application\/x-shockwave-flash\" pluginspage=\"http:\/\/www.macromedia.com\/go\/getflashplayer\" \/\x3E\x3C\/object\x3E\x3C\/div\x3E\x3C\/div\x3E\x3Cbr \/\x3E\x3Cbr \/\x3E"); document.writeln("");