/*
    Copyright (C) 2009  Murad <Murawd>
						Josh L. <Josho192837>

    This program is free software: you can redistribute it and/or modify
    it under the terms of the GNU General Public License as published by
    the Free Software Foundation, either version 3 of the License, or
    (at your option) any later version.

    This program is distributed in the hope that it will be useful,
    but WITHOUT ANY WARRANTY; without even the implied warranty of
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    GNU General Public License for more details.

    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.
*/

// JS Based Marquee
function marquee(msg) {
 document.write("<marquee onmouseover=\"this.setAttribute('scrollamount', 2, 0);\" onmouseout=\"this.setAttribute('scrollamount', 5, 0);\">",msg,"</marquee>");
}

// Flash Embed JS
function ItsIanFlash(t, p, m, b) {
 document.write("<embed src='images/statusbar.swf?t=",t,"&amp;p=",p,"&amp;m=",m,"' quality='high' bgcolor='",b,"' width='88' height='30'></embed>");
}

// Rollover Ranking Images
function roll(img_name, img_src){
		document[img_name].src = img_src;
}

// Checks If Cookies Are Enabled
function cookies() {
	if (navigator.cookieEnabled == 0) {
		alert("Please make sure your browser accepts cookies to comment.");
	}
  return true;
}