/*
	Webdesign Mika Salonen
	info@webdesignsalonen.com
	http://www.webdesignsalonen.com/en/

	Last modified: 2003-09-11
*/

var flashVersion = getFlashVersion();

var cookies_enabled = 0;
document.cookie = 'cookies=on';
if (document.cookie.indexOf("cookies") != -1) cookies_enabled = 1; // if test cookie exists, cookies are enabled

var show_flash = 0;
if (document.cookie.indexOf("flash") != -1) show_flash = 1; // if flash cookie exists, user wants to see the flash version

if (cookies_enabled == 1 && show_flash == 1 && flashVersion >= 5) // this has to used in the script flash_nonflash_button.js
{
  document.writeln('<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"');
  document.writeln('  codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=5,0,0,0"');
  document.writeln('  width="780" height="241" id="037_4">');

  document.writeln('  <param name="movie" value="037_4.swf">');
  document.writeln('  <param name="quality" value="high">');
  document.writeln('  <param name="loop" value="false">');
  document.writeln('  <param name="bgcolor" value="#FFFFFF">');

  document.writeln('  <embed src="037_4.swf" quality="high" loop="false" bgcolor="#FFFFFF" width="780" height="241"');
  document.writeln('    name="037_4" type="application/x-shockwave-flash"');
  document.writeln('    pluginspage="http://www.macromedia.com/go/getflashplayer">');
  document.writeln('  </embed>');
  document.writeln('</object>');
}
else
{
  MM_preloadImages('images/home_off.gif', 'images/features_off.gif', 'images/download_off.gif', 'images/buynow_off.gif', 'images/support_off.gif', 'images/contactus_off.gif');
  MM_preloadImages('images/home_on.gif', 'images/features_on.gif', 'images/download_on.gif', 'images/buynow_on.gif', 'images/support_on.gif', 'images/contactus_on.gif');

  document.writeln('<img src="images/flash_banner1.gif" width="195" height="200" alt="SlideShow Desktop" border="0"><img src="images/flash_banner2.gif" width="195" height="200" alt="" border="0"><img src="images/flash_banner3.gif" width="195" height="200" alt="" border="0"><img src="images/flash_banner4.gif" width="195" height="200" alt="" border="0"><br>');
  document.writeln('<img src="images/flash_banner_left.jpg" width="114" height="41" alt="" border="0"><a href="index.htm" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage(\'home\', \'\', \'images/home_on.gif\', 1)"><img name="home" border="0" src="images/home_off.gif" width="92" height="41" alt="Home"></a><a href="features.htm" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage(\'features\', \'\', \'images/features_on.gif\', 1)"><img name="features" border="0" src="images/features_off.gif" width="92" height="41" alt="Features"></a><a href="download.htm" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage(\'download\', \'\', \'images/download_on.gif\', 1)"><img name="download" border="0" src="images/download_off.gif" width="92" height="41" alt="Download"></a><a href="order.htm" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage(\'buynow\', \'\', \'images/buynow_on.gif\', 1)"><img name="buynow" border="0" src="images/buynow_off.gif" width="93" height="41" alt="Buy Now"></a><a href="support.htm" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage(\'support\', \'\', \'images/support_on.gif\', 1)"><img name="support" border="0" src="images/support_off.gif" width="92" height="41" alt="Support"></a><a href="contactus.htm" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage(\'contactus\', \'\', \'images/contactus_on.gif\', 1)"><img name="contactus" border="0" src="images/contactus_off.gif" width="92" height="41" alt="Contact Us"></a><img src="images/flash_banner_right.jpg" width="113" height="41" alt="" border="0"><br>');
}