	//this script will preload/cache the gifquotes in browser memory for faster loading

	var arrSids = new Array(1643,3291,3377,123705,214287,153779,123939,125154,123709,123712);
	var arrImg 	= new Array();
	function preloadImg(){
		if (document.images) {
	  		for (i=0; i<arrSids.length;i++){ 
	    		arrImg[i]=new Image();
	    		arrImg[i].src='http://chart.bigcharts.com/custom/radio-sawa/radiosawa-index.img?sid='+arrSids[i]+'&rnd='+Math.random();
			}
	  	}
	}

	preloadImg();

	function refreshTime(nElement) {
		if (document.images) 
			document.images['rsindexImg'].src = arrImg[nElement].src;
	}

	function showConverter() {
		window.open("/currencyconvert.aspx", "getWinCC", "scrollbars=no,height=310,width=230");
	}

	function showStocks() {
		window.open("/stockquotes.aspx", "getWinS", "scrollbars=no,height=300,width=210");
	}

