﻿			// <![CDATA[
				var flashVars = {
				};
				var params = {
					  wmode: 'window' //'transparent' 'window'
					  , allowscriptaccess: 'always'
/*
					 , play:
					, loop:
					, menu:
					, quality:
					, scale:
					, salign:
					, bgcolor:
					, base:
					, swliveconnect:
					, devicefont:
					, allowscriptaccess:
					, seamlesstabbing:
					, allowfullscreen:
					, allownetworking:
*/
				}
 				var attributes = {
					  id: 'main'
				};
				var expressInstall = false;
				swfobject.embedSWF( "preloader.swf", "flashcontent", "100%", "100%", "10.0", expressInstall, flashVars, params, attributes );
				//swfobject.embedSWF( "main.swf", "flashcontent", "100%", "100%", "10.0.0", expressInstall, flashVars, params, attributes );
				swffit.fit( attributes.id , 990, 600);
			// ]]>

      
    //Iphone detection
		
    if((navigator.userAgent.match(/iPhone/i)) || (navigator.userAgent.match(/iPod/i))) {
		if (document.cookie.indexOf("iphone_redirect=false") == -1) window.location = "http://www.loud.com.au/images/NoFlashSupport1.jpg";
	}
		//shadow box
			//<![CDATA[
			
			Shadowbox.init({
				skipSetup: true,
				players: ["img", "swf"]
			});

			function displayFS( imageUrl, type, w, h ) {
				if (type == "swf") {
					Shadowbox.open({
						  content:    imageUrl
						, player:     "swf"
						, width:	w
						, height:	h
					});
				} else {
					///assume image by default
					Shadowbox.open({
						  content:    imageUrl
						, player:     "img"
					});
				}
			}
			
			//]]>

			
//google tracking

var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
try {
var pageTracker = _gat._getTracker("UA-10782483-1");
pageTracker._trackPageview();
} catch(err) {}
