/**
 * Reportwatch javascript functionality
 * By Inventis Web Architects
 * http://www.inventis.be
 *
 * Author: Dieter Verjans <dieter@inventis.be> 
 * Date: 13/08/2007
 */
 
 /**
  * SIFR
  */

/*window.onload = function()
{
	sIFR.replaceElement("#siteHeader blockquote", named({sFlashSrc: "/design/flash/times.swf", sBgColor: "#17273E", sColor: "#FFFFFF", sWmode: 'transparent'}));
	sIFR.replaceElement("#siteHeader cite", named({sFlashSrc: "/design/flash/times.swf", sBgColor: "#17273E", sColor: "#FFFFFF", sWmode: 'transparent'}));
};*/

function changeImage(image, teller){
	var opLinkImage = $('opLinkImage');
	var opImage = $('opImage');
	
	var opLink1 = $('opLink1');
	var opLink2 = $('opLink2');
	var opLink3 = $('opLink3');
	
	opLink1.className="changeImageLink";
	opLink2.className="changeImageLink";
	opLink3.className="changeImageLink";
	
	if(teller==1){
		opLink1.className="changeImageLink changeActive";
	}
	
	if(teller==2){
		opLink2.className="changeImageLink changeActive";
	}
	
	if(teller==3){
		opLink3.className="changeImageLink changeActive";
	}
	
	opLinkImage.href='/uploads/photos/ourpicks/original/' + image;
	opImage.src='/uploads/photos/ourpicks/middle/' + image;
}

function openAronArs(){
	newwindow=window.open('/annual-report-on-annual-reports/','aronars2007','height=650,width=850');
	if (window.focus) {newwindow.focus()}
	return false;	
}

fireOn = Window.ie6 ? 'load' : 'domready';

window.addEvent(fireOn, function() {
	if($('mooquee'))
		new mooquee($('mooquee'));

});