﻿function rotateEvery(sec)
{
	var Quotation=new Array()




Quotation[0] = '<font face="Tahoma" style="font-size: 9pt" ><a target="_blank" href="http://iran4rah.com/"><span style="text-decoration: none"><font color="#FF9933">Iran4Rah &#1548; &#1606;&#1582;&#1587;&#1578;&#1740;&#1606; &#1662;&#1575;&#1740;&#1711;&#1575;&#1607; &#1575;&#1591;&#1604;&#1575;&#1593; &#1585;&#1587;&#1575;&#1606;&#1740; &#1589;&#1606;&#1593;&#1578; &#1581;&#1605;&#1604; &#1608; &#1606;&#1602;&#1604; (&#1575;&#1740;&#1585;&#1575;&#1606; &#1548; &#1670;&#1607;&#1575;&#1585;&#1585;&#1575;&#1607; &#1580;&#1607;&#1575;&#1606; &#1575;&#1587;&#1578;).';
Quotation[1] = '<font face="Tahoma" style="font-size: 9pt" ><a target="_blank" href="http://www.payam-resan.com/ADV.aspx?ID=iransetup.com/"><span style="text-decoration: none"><font color="#9bff42">&#1662;&#1740;&#1575;&#1605; &#1585;&#1587;&#1575;&#1606; &#1563; &#1605;&#1608;&#1601;&#1602; &#1578;&#1585;&#1740;&#1606; &#1587;&#1575;&#1605;&#1575;&#1606;&#1607; &#1575;&#1585;&#1587;&#1575;&#1604; &#1662;&#1740;&#1575;&#1605;&#1705; &#1583;&#1585; &#1705;&#1588;&#1608;&#1585;.';


	var which = Math.round(Math.random()*(Quotation.length - 1));
	document.getElementById('textrotator').innerHTML = Quotation[which];
	
	setTimeout('rotateEvery('+sec+')', sec*5000);
}
