function chooseIcons(bow, wow, horizNum, vertNum, addOrReplace) {
// bow - hide/show iconbox before/after draw or not, wow - shuffle variant, addOrReplace - add incons or redraw icon box (1=add)
var picNumb = horizNum * vertNum - 1;
if (bow==1) {$('#icons').hide();}
if (wow==0) { var variant= Math.floor(Math.random()*10) + 1; } else if (wow==1) { var variant=1; } else if (wow==2) { var variant= 3; }	
		// wow 2 - shuffle icons, wow 1 - same icon, wow 0 - same or shuffle
		// variant 1-2 - same icon, variant 3-10 - shuffle
if (addOrReplace==0) { $('#icons').empty(); variantPrev=variant; } else { picNumb = addOrReplace-1; variant=variantPrev; }
	if ( variant==1 || variant==2 ) { // same icon
		if (addOrReplace==0) {
		shuffleArray(iconNames);
		shuffleArray(iconNumArray); }
		for (x=0;x<=picNumb;x=x+1) {	
			$('#icons').append('<img class="popicon" src="popicons/' + iconNames[0]+iconNumArray[0] + '.gif" border="0" width="281" height="198" alt="">');
			}
	} else { // shuffle
		shuffleArray(iconNames);
		var currentIconId = 0;
		for (x=0;x<=picNumb;x=x+1) {
			if (currentIconId == 16) { currentIconId = 0; shuffleArray(iconNames); }
			shuffleArray(iconNumArray);
			$('#icons').append('<img class="popicon" src="popicons/' + iconNames[currentIconId]+iconNumArray[0] + '.gif" border="0" width="281" height="198" alt="">');
			currentIconId = currentIconId + 1;
			}
		}
if (bow==1) {$('#icons').show('slow');}
}

function chooseCopyright() {
	shuffleArray(copyrights);
	$("#copyright").html(copyrights[0]);
}

function chooseColors() {
	colorVar = Math.floor(Math.random()*8);
	$(".rightUpArrow").attr("src",rightUpArrows_downLeftArrows[colorVar]);
	$(".rightDownArrow").attr("src",rightDownArrows_upLeftArrows[colorVar]);
	$(".leftUpArrow").attr("src",leftUpArrows_downRightArrows[colorVar]);
	$(".leftDownArrow").attr("src",leftDownArrows_upRightArrows[colorVar]);
	$(".downRightArrow").attr("src",leftUpArrows_downRightArrows[colorVar]);
	$(".downLeftArrow").attr("src",rightUpArrows_downLeftArrows[colorVar]);
	$(".upLeftArrow").attr("src",rightDownArrows_upLeftArrows[colorVar]);
	$(".upRightArrow").attr("src",leftDownArrows_upRightArrows[colorVar]);
	$(".colors").css('background-color', BgColors[colorVar]);
	$(".colors").css('color', TextColors[colorVar]);
	$("#logo").attr("src",LogoColors[colorVar]);	
	$(".eventTitle").css('background-color', EventTitleBgColors[colorVar]);
	$(".eventTitle").css('color', EventTitleTextColors[colorVar]);	
	$(".eventDesc").css('background-color', EventDescrBgColors[colorVar]);
	$(".eventDesc").css('color', EventDescrTextColors[colorVar]);	
	$(".eventLink").css('color', EventTitleTextColors[colorVar]);
	$(".textboxLink").css('color', EventTitleTextColors[colorVar]);
	$(".colors a").css('color', boxLinkColors[colorVar]);
	$(".theQuote a").css('color', boxLinkColors[colorVar]);	
	$(".eventDesc a").css('color', EventDescrTextColors[colorVar]);	
	$(".colors a:visited").css('color', boxLinkColors[colorVar]);
	$(".colors a:link").css('color', boxLinkColors[colorVar]);
	$(".colors a:active").css('color', boxLinkColors[colorVar]);
	$(".theQuote a:visited").css('color', boxLinkColors[colorVar]);	
	$(".theQuote a:link").css('color', boxLinkColors[colorVar]);
	$(".theQuote a:active").css('color', boxLinkColors[colorVar]);
	$(".eventDesc a:visited").css('color', EventDescrTextColors[colorVar]);	
	$(".eventDesc a:link").css('color', EventDescrTextColors[colorVar]);
	$(".eventDesc a:active").css('color', EventDescrTextColors[colorVar]);
if (colorVar == 0 || colorVar == 7 || colorVar == 2) {var lamvkfbVar=3}
else if (colorVar == 1 || colorVar == 3 ) {var lamvkfbVar=2}
else if (colorVar == 4 || colorVar == 5 || colorVar == 6) {var lamvkfbVar=1}
	var lamvar = 'img/lam' + lamvkfbVar + '.gif';
	$("#lam").attr("src",lamvar);
	var vkvar = 'img/vk' + lamvkfbVar + '.gif';
	$("#vk").attr("src",vkvar);
	var fbvar = 'img/fb' + lamvkfbVar + '.gif';
	$("#fb").attr("src",fbvar);
}

function loadTwits() {
if ($("#tweet").html()=='' && tweetsTryCount<7) {
		tweetsTryCount = tweetsTryCount + 1;
		setTimeout('loadTwits()', 1000); 
		} else if ($("#tweet").html()!='') {
   		allTweets = $("#tweet").html().replace( new RegExp( "<ul><li>", "gi" ), "" );
   		allTweets = allTweets.replace( new RegExp( "</li></ul>", "gi" ), "" );
   		allTweets = allTweets.replace( new RegExp( "<li>", "gi" ), "" );
   		allTweets = allTweets.replace( new RegExp( "</li>", "gi" ), "|" );
   		allTweets = allTweets.replace(/\n|\r\n?/g,'');
   		allTweets = allTweets.replace( new RegExp( "<ul>", "gi" ), "" );
        tweetsArray = allTweets.split("|");
        tweetsNumber = tweetsArray.length;
        for (var n=0; n <= tweetsArray.length-1; n++)
			{
				var temp = tweetsArray[n].replace(regexpRemoveTags,"");
				if ( temp.length >= 140 ) {
					tweetsArray[n] = '<span style="line-height:1;">' + tweetsArray[n] + '</span>';
				}
			}
        for (var n=0; n <= addCredits.length-1; n++)
			{
				var temp = addCredits[n].replace(regexpRemoveTags,"");
				if ( temp.length >= 140 ) {
					addCredits[n] = '<span style="line-height:1;">' + addCredits[n] + '</span>';
				}
			}
        for (var n=0; n <= quotesArray.length-1; n++)
			{
				if ( quotesArray[n].length >= 140 ) {
					quotesArray[n] = '<span style="line-height:1;">' + quotesArray[n] + '</span>';
				}
			}
       	allQuotesArray = addCredits; // add credits
        allQuotesArray = $.merge(allQuotesArray, tweetsArray); // add twits
        allQuotesArray = $.merge(allQuotesArray, quotesArray);  // add song quotes
 		twitterFinished = 1;
} else if ($("#tweet").html()=='' && tweetsTryCount==7) {
        for (var n=0; n <= addCredits.length-1; n++)
			{
				var temp = addCredits[n].replace(regexpRemoveTags,"");
				if ( temp.length >= 140 ) {
					addCredits[n] = '<span style="line-height:1;">' + addCredits[n] + '</span>';
				}
			}
        for (var n=0; n <= quotesArray.length-1; n++)
			{
				if ( quotesArray[n].length >= 140 ) {
					quotesArray[n] = '<span style="line-height:1;">' + quotesArray[n] + '</span>';
				}
			}
		allQuotesArray = addCredits; // add credits
 		allQuotesArray = $.merge(allQuotesArray, quotesArray); // no tweets loaded, use just song quotes
 		twitterFinished = 1;
}
}

function drawQuoteBoxes(currentLeft, currentTop, rows, columns, currentId, currentTopStep, currentLeftStep, randomShow, randomMove) {
var backupTop = currentTop;
for (n=0;n<columns;n++) { // columns
	for (x=0;x<rows;x++) { // rows
	shuffleArray(arrowsVar);
	var quoteBox = '<div onclick="shuffleRandQuotes()" class="anim hideanim colors randQuote" id="randQuote'+currentId+'"><img class="arrow '+arrowsVar[0]+'" border="0" alt="" width="32" height="32" src="img/ep.gif"><div class="theQuote">'+allQuotesArray[currentId]+'</div></div>';
	if (randomShow==1) {	
		if ( Math.floor(Math.random()*10)>=2 ) { $('#quotesLoadHere').append(quoteBox); totalQuotes = totalQuotes + 1; }
	} else {
		$('#quotesLoadHere').append(quoteBox); totalQuotes = totalQuotes + 1;
	}
	var currentTheQuote = '#randQuote'+currentId+' .theQuote';	
	$(currentTheQuote).vAlign();
	var currentQuote = '#randQuote'+currentId;	
	if (randomMove==1) {	
		$(currentQuote).css('top', currentTop+Math.floor(Math.random()*30));
		$(currentQuote).css('left', currentLeft+Math.floor(Math.random()*30));
	} else {
		$(currentQuote).css('top', currentTop);
		$(currentQuote).css('left', currentLeft);
	}	
	currentTop = currentTop + currentTopStep;
	currentId = currentId + 1;		
	}
currentTop = backupTop;
currentLeft = currentLeft + currentLeftStep;
}
}

function shuffleRandQuotes() {
shuffleArray(allQuotesArray);
$(".randQuote").each(function (i) {
	var currentTheQuote = '#' + $(this).attr('id') + ' .theQuote';
	$(currentTheQuote).html(allQuotesArray[i]);
	$(currentTheQuote).vAlign();
});	
	$(".theQuote a").css('color', boxLinkColors[colorVar]);
	$(".theQuote a:visited").css('color', boxLinkColors[colorVar]);
	$(".theQuote a:link").css('color', boxLinkColors[colorVar]);
	$(".theQuote a:active").css('color', boxLinkColors[colorVar]);
}

function spectrum() {
if (spectrumOn == 1) {
		chooseColors();
		var hue = 'rgb(' + (Math.floor(Math.random() * 256)) + ',' + (Math.floor(Math.random() * 256)) + ',' + (Math.floor(Math.random() * 256)) + ')';
		$("body").css('backgroundColor', hue);
} 
}

function logoClick() { 
	if (spectrumOn == 0) {
		spectrumOn=1;
		$('#icons').hide('slow');
		$('.arrow').hide('slow');
		$("body").css('backgroundImage', 'url(popicons/ep.gif)');	
		var spectrumOnInt = setInterval("spectrum()", 150);
	} else if (spectrumOn == 1) {
		spectrumOn=0;
		clearInterval(spectrumOnInt);
		$("body").css('backgroundColor', '#ffffff');
		$("body").css('backgroundImage', 'url(http://www.pop-cataclysm.com/img/defbg.gif)');
		$('.arrow').show('slow');
		$('#icons').show('slow');
	}
}

function pushmeClick() {
	hideAllAnim();
	$("body").css('backgroundImage', 'url(http://www.pop-cataclysm.com/img/defbg.gif)');
	$('.arrow').show('slow');
	spectrumOn=0;
	chooseColors();
	chooseIcons(1,1,iconHorizNum,iconVertNum,0);
	chooseCopyright();
	shuffleRandQuotes();
	waitForIconsLoadAndAnimate();
}

function touchmeClick() {
	hideAllAnim();
	$("body").css('backgroundImage', 'url(http://www.pop-cataclysm.com/img/defbg.gif)');
	$('.arrow').show('slow');
	spectrumOn=0;
	chooseColors();
	chooseIcons(1,2,iconHorizNum,iconVertNum,0);
	chooseCopyright();
	shuffleRandQuotes();
	waitForIconsLoadAndAnimate();
}

function satisfactionClick() {
	hideAllAnim();
	$("body").css('backgroundImage', 'url(http://www.pop-cataclysm.com/img/defbg.gif)');
	$('.arrow').show('slow');
	spectrumOn=0;
	$('#icons').hide('slow');
	chooseColors();
	chooseCopyright();
	shuffleRandQuotes();
	loadAnim();
}

function getWinDocSize() {
	viewportHeight = $(window).height();
	viewportWidth = $(window).width();
	leftColHeight = $("#leftCol").height() + findPosY(document.getElementById('leftCol'));
	rightColHeight = $("#eventsBox").height();
	if ( leftColHeight >= rightColHeight ) { contentHeight = leftColHeight; } else { contentHeight = rightColHeight; }
	contentWidth = 1124;
	if ( viewportWidth > contentWidth ) { contentWidth = viewportWidth; }
	if ( viewportHeight > contentHeight ) { contentHeight = viewportHeight; }
	iconHorizNum = Math.round(contentWidth/iconWidth);
	if ( iconHorizNum < (contentWidth/iconWidth) ) { iconHorizNum = iconHorizNum+1; }
	iconHorizNum = iconHorizNum+1;	
	iconVertNum = Math.round(contentHeight/iconHeight); 
	if ( iconVertNum < (contentHeight/iconHeight) ) { iconVertNum = iconVertNum+1; }
	iconVertNum = iconVertNum + 2;
//	alert('left: '+leftColHeight+' right: '+rightColHeight+' cont height: ' + contentHeight + ' cont width: ' + contentWidth + ' horiz: '+iconHorizNum+' vert: '+iconVertNum);
	totalIconsNum = iconHorizNum * iconVertNum;
	iconBoxWidth = iconHorizNum * iconWidth;
	iconBoxHeight = iconVertNum * iconHeight;
	$("body").css('width', iconBoxWidth);
	$("body").css('height', iconBoxHeight);
	$("#icons").css('width', iconBoxWidth);
	$("#icons").css('height', iconBoxHeight);	
	horizontalIconStep = 200; // icons steps !!
	verticalIconStep = 60;
	if ( viewportWidth >= ( 3*iconWidth + horizontalIconStep + 150 ) ) { $("body").css('overflowX', 'hidden'); } // content + 1 column of quotes		
}

function startIconLoad() {
	viewportHeight = $(window).height();
	viewportWidth = $(window).width();
	var iconHorizNumPre = Math.round(viewportWidth/iconWidth);
	if ( iconHorizNumPre < (viewportWidth/iconWidth) ) { iconHorizNumPre = iconHorizNumPre+1; }	
	iconHorizNumPre = iconHorizNumPre+1;	
	var iconVertNumPre = Math.round(viewportHeight/iconHeight); 
	if ( iconVertNumPre < (viewportHeight/iconHeight) ) { iconVertNumPre = iconVertNumPre+1; }
	iconVertNumPre = iconVertNumPre + 2;
	iconBoxWidth = iconHorizNumPre * iconWidth;
	iconBoxHeight = iconVertNumPre * iconHeight;
	$("body").css('width', iconBoxWidth);
	$("body").css('height', iconBoxHeight);
	$("#icons").css('width', iconBoxWidth);
	$("#icons").css('height', iconBoxHeight);	
	totalIconsNumPre = iconHorizNumPre * iconVertNumPre;
	chooseIcons(1,0,iconHorizNumPre,iconVertNumPre,0);
	preloadIconsFinished = 1;
}

function onLoadDraw() {
	if (googleCalFinished == 1 && pageFinished == 1 && twitterFinished == 1 && ljFinished == 1 && preloadIconsFinished == 1) {
		getWinDocSize();
		if (totalIconsNumPre != totalIconsNum) {
			var iconsAddNum = totalIconsNum - totalIconsNumPre;
			chooseIcons(0,2,0,0,iconsAddNum);
		}
		chooseColors();
// drawQuoteBoxes(currentLeft, currentTop, rows, columns, startId, currentTopStep, currentLeftStep, randomShow, randomMove)
	// quotes column 3
	iconsFromLeft = 3; // number of full icons from left
	iconsFromTop = 0  // number of full icons from top
	var quotesCol3Cols = 1;
	var quotesCol3Rows = iconVertNum - 1 - iconsFromTop;	
	var quotesCol3X = iconsFromLeft*iconWidth + horizontalIconStep;
	var quotesCol3Y = iconsFromTop*iconHeight + verticalIconStep;
	drawQuoteBoxes(quotesCol3X, quotesCol3Y, quotesCol3Rows, quotesCol3Cols, totalQuotes, iconHeight, iconWidth, 0, 0);
	// quotes column 3 end	
	// quotes column 2	
	iconsFromLeft = 1; // number of full icons from left
	iconsFromTop = Math.round(rightColHeight/iconHeight);  // number of full icons from top
	if ( ((rightColHeight/iconHeight) - iconsFromTop) > 0.2 ) { iconsFromTop = iconsFromTop+1; } // add another if necessary
	var quotesCol2Cols = 2;
	var quotesCol2Rows = iconVertNum - 1 - iconsFromTop;	
	var quotesCol2X = iconsFromLeft*iconWidth + horizontalIconStep;
	var quotesCol2Y = iconsFromTop*iconHeight + verticalIconStep;
	drawQuoteBoxes(quotesCol2X, quotesCol2Y, quotesCol2Rows, quotesCol2Cols, totalQuotes, iconHeight, iconWidth, 0, 0);
	// quotes column 2 end	
	// quotes column 1	
	iconsFromLeft = 0; // number of full icons from left
	iconsFromTop = Math.round(leftColHeight/iconHeight);  // number of full icons from top
	if ( ((leftColHeight/iconHeight) - iconsFromTop) > 0.2 ) { iconsFromTop = iconsFromTop+1; } // add another if necessary
	var quotesCol1Cols = 1;
	var quotesCol1Rows = iconVertNum - 1 - iconsFromTop;	
	var quotesCol1X = iconsFromLeft*iconWidth + horizontalIconStep;
	var quotesCol1Y = iconsFromTop*iconHeight + verticalIconStep;
	drawQuoteBoxes(quotesCol1X, quotesCol1Y, quotesCol1Rows, quotesCol1Cols, totalQuotes, iconHeight, iconWidth, 0, 0);	
	// quotes column 1 end
	// quotes column 4	
	iconsFromLeft = 4; // number of full icons from left
	iconsFromTop = 0;  // number of full icons from top
	var quotesCol4Cols = iconHorizNum - 1 - iconsFromLeft;
	var quotesCol4Rows = iconVertNum - 1 - iconsFromTop;	
	var quotesCol4X = iconsFromLeft*iconWidth + horizontalIconStep;
	var quotesCol4Y = iconsFromTop*iconHeight + verticalIconStep;
	drawQuoteBoxes(quotesCol4X, quotesCol4Y, quotesCol4Rows, quotesCol4Cols, totalQuotes, iconHeight, iconWidth, 0, 0);
	// quotes column 4 end		
	// limit allQuotesArray to number of quote boxes (totalQuotes)
	if ( allQuotesArray.length > totalQuotes ) {
		allQuotesArray = allQuotesArray.slice(0,totalQuotes);
	} else if ( allQuotesArray.length < totalQuotes ) {
		allQuotesArray = $.merge(allQuotesArray, allQuotesArray);
		allQuotesArray = $.merge(allQuotesArray, allQuotesArray);
		allQuotesArray = allQuotesArray.slice(0,totalQuotes);
	}
	// done
	$(".randQuote").css('background-color', BgColors[colorVar]);
	$(".randQuote").css('color', TextColors[colorVar]);
	$(".randQuote .rightUpArrow").attr("src",rightUpArrows_downLeftArrows[colorVar]);
	$(".randQuote .rightDownArrow").attr("src",rightDownArrows_upLeftArrows[colorVar]);
	$(".randQuote .leftUpArrow").attr("src",leftUpArrows_downRightArrows[colorVar]);
	$(".randQuote .leftDownArrow").attr("src",leftDownArrows_upRightArrows[colorVar]);
	$(".randQuote .downRightArrow").attr("src",leftUpArrows_downRightArrows[colorVar]);
	$(".randQuote .downLeftArrow").attr("src",rightUpArrows_downLeftArrows[colorVar]);
	$(".randQuote .upLeftArrow").attr("src",rightDownArrows_upLeftArrows[colorVar]);
	$(".randQuote .upRightArrow").attr("src",leftDownArrows_upRightArrows[colorVar]);
	$(".theQuote a").css('color', boxLinkColors[colorVar]);
	$(".theQuote a:visited").css('color', boxLinkColors[colorVar]);
	$(".theQuote a:link").css('color', boxLinkColors[colorVar]);
	$(".theQuote a:active").css('color', boxLinkColors[colorVar]);
	$(".ljQuote .rightUpArrow").attr("src",rightUpArrows_downLeftArrows[colorVar]);
	$(".ljQuote .rightDownArrow").attr("src",rightDownArrows_upLeftArrows[colorVar]);
	$(".ljQuote .leftUpArrow").attr("src",leftUpArrows_downRightArrows[colorVar]);
	$(".ljQuote .leftDownArrow").attr("src",leftDownArrows_upRightArrows[colorVar]);
	$(".ljQuote .downRightArrow").attr("src",leftUpArrows_downRightArrows[colorVar]);
	$(".ljQuote .downLeftArrow").attr("src",rightUpArrows_downLeftArrows[colorVar]);
	$(".ljQuote .upLeftArrow").attr("src",rightDownArrows_upLeftArrows[colorVar]);
	$(".ljQuote .upRightArrow").attr("src",leftDownArrows_upRightArrows[colorVar]);
	
//	fixIePng();
	waitForIconsLoadAndAnimate();
	
	} else { setTimeout('onLoadDraw()', 1000); }
}

function waitForIconsLoadAndAnimate() {
if (loadedIconsCount==totalIconsNum) { loadedIconsCount=0; loadAnim(); }
else { setTimeout('waitForIconsLoadAndAnimate()', 1000); 
	if (loadedIconsCount == 0) { 
     $('#icons > img').each(function() {
       if (!this.complete) { this.onload = function() { loadedIconsCount=loadedIconsCount+1; }; } 
       else { loadedIconsCount=loadedIconsCount+1; }
     });
	} 
}
}

function hideCounters() {
	$('#counters').hide('slow');
}

function StatusQuote() {
	shuffleArray(quotesArray);
	window.status = quotesArray[0];
	document.title = quotesArray[0];
}

function showHidden() {
	$(".hide").each(function (i) {
		$(this).show('slow');
	});	
}

function hideAllAnim() {
	$(".hideanim").each(function (i) {
		$(this).css('visibility', 'hidden');
	});	
}

function putBackScrollBars() {
if ( viewportWidth < ( 3*iconWidth + horizontalIconStep + 150 ) ) { $("body").css('overflowX', 'visible'); }
if ( viewportHeight < iconBoxHeight ) { $("body").css('overflowY', 'visible'); }
}

function loadAnim() {
if (firstTimeDraw==0) {
	firstTimeDraw=1;
	$('#loadCountdown').hide('slow');
	clearInterval(loadCountdownInt);
} else {$('#counters').hide();}
//$("body").css('overflowX', 'hidden');
//$("body").css('overflowY', 'hidden');
setTimeout('hideCounters()', 70000);
$(".hide").each(function (i) {
		$(this).hide();
		$(this).css('visibility', 'visible');
});	
setTimeout('showHidden()', 1000);
$(".anim").each(function (i) {
	var tempId = $(this);
	var eventsBoxPos = tempId.position();
	var dirsArray1 = new Array ('-', '');
	shuffleArray(dirsArray1);
	var dirsArray2 = new Array ('-', '');
	shuffleArray(dirsArray2);
	var temp1 = Math.floor(Math.random()*1000)+500;
	var temp2 = Math.floor(Math.random()*1000)+500;
	if ( dirsArray1[0]=='-' ) {
		var randCoord1 = '-' + temp1; 
	} else {
		temp1 = temp1 + iconBoxHeight;
		var randCoord1 = temp1; 
	}
	if ( dirsArray2[0]=='-' ) {
		var randCoord2 = '-' + temp2; 
	} else {
		temp2 = temp2 + iconBoxWidth;
		var randCoord2 = temp2; 
	}
	var temp3 = Math.floor(Math.random()*1000)+1000;
	$(this).css('top', randCoord1);
	$(this).css('left', randCoord2);
	$(this).css('visibility', 'visible');
	$(this).animate({ 
        top: eventsBoxPos.top,
        left: eventsBoxPos.left
    }, temp3 );
});
//setTimeout('putBackScrollBars()', 1500);
}

$(document).ready(function() {
	if ($.browser.msie && $.browser.version.substr(0,1)<7) {
		$("#logo").attr("src","img/popcatlog-06.gif");
	}
//	chooseColors();
	$("body").css('backgroundImage', 'url(http://www.pop-cataclysm.com/img/defbg.gif)');
	startIconLoad();
	LoadGoogleCal(); // load google calendar
	LoadLJ(); // load LJ blog quotes
	getTwitters('tweet', {  // load twitter
 		id: 'galloween', 
	 	count: 30, 
	 	enableLinks: true,
	 	newwindow: true,
	 	ignoreReplies: true, 
	 	clearContents: true,
	 	template: '%text%'
	});
	loadTwits(); // read twits to array
	chooseCopyright();
	pageFinished = 1;
	onLoadDraw();
//	setInterval ( "StatusQuote()", 5000 );	
});
