/* © InitiativeWeb */
//if (parent.location.href == self.location.href){window.location.href = 'index.html' } // use comment in local use
if ((navigator.userAgent.toLowerCase().indexOf('iphone'))!=-1) { window.location = "http://intersquash.com/feed/ffe37e1e"; } // iPhoneize website.
/* */
var _gaq = _gaq || [];
_gaq.push(['_setAccount', 'UA-707794-3']); // Set correct UA
_gaq.push(['_trackPageview']);
(function() {
var ga = document.createElement('script');
ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
ga.setAttribute('async', 'true');
document.documentElement.firstChild.appendChild(ga);
})();

function context()  {alert('© Initiativeweb'); return(false); }
document.oncontextmenu = context;

function swf(theSWF, features, divId, bgColor) {
	if (theSWF ==  null)  theSWF = "main.swf"; 
	if (features ==  null)  features = "width='100%' height='100%' align='middle' "; 
	if (divId ==  null)  divId = "mainDiv"; 
	if (bgColor == null) bgColor = "#111111";
	var swfContent = "";
	swfContent = swfContent +'<object type="application/x-shockwave-flash" data='+theSWF+' '+features+'>';
	swfContent = swfContent +'<param name="movie" value='+theSWF+' /><param name="bgcolor" value='+bgColor+' />';
	swfContent = swfContent +'<a href="http://www.adobe.com/go/getflash/"><img src="img/noflash.jpg" alt="Get Flashplayer" /></a>';
	swfContent = swfContent +'</object>';
	
	if(!divId || document.getElementById(divId) == null) document.writeln(swfContent);

	if (divId) {
		var container = document.getElementById(divId);
		container.innerHTML = swfContent;
	}
}

function context()  {alert('© Initiativeweb'); return(false); }
document.oncontextmenu = context;

var msg="  ";var i=0;
function defilmsg() {window.status=msg.substring(i, msg.length)+msg.substring(0, i);i++;
 if (i>msg.length) i=0;window.setTimeout("defilmsg()",150); }

function pop_img(width,height,img) { wind=open("",'popup','width='+width+',height='+height+',top=0,left=80,toolbar=no,scrollbars=no,resizable=yes,title=no');
	var wx = wind.screen.availWidth - width - 50;  wind.focus(); wind.moveTo(wx,0);
	wind.document.write("<html>\n<head>\n<title>Dyn pop-up image</title>\n</head>\n<body>\n<center>\n<img src="+img);
	wind.document.write("\n<br><br><br>\n<font size='2'><a href='javascript:window.close();'>[ Fermer la fenêtre ]</a></font>\n</center>\n</body>\n</html>"); }

function pop_url(url,winName,features) { win_pop=window.open(url,winName,features);  window.win_pop.focus();  }

