

function preLoad( ) {


	if( document.images ) {

		pic1 = new Image();
		pic1.src="/images/untitled-7.png";

		pic2 = new Image();
		pic2.src="/images/s2.gif";

		pic3 = new Image();
		pic3.src="/images/s3.gif";

		pic4 = new Image();
		pic4.src="/images/s4.gif";

		pic5 = new Image();
		pic5.src = "/images/s5.gif";

		pic6 = new Image();
		pic6.src = "/images/s6.gif";

		if( preLoad.arguments.length > 0 ) {

			arr = new Array( preLoad.arguments.length );

			for( x = 0; x < arr.length; x++ ) {

				arr[x] = new Image();
				arr[x].src = preLoad.arguments[x];

			}
		
		}

	}
}

function cchange( i, nbg, nfg, bc ) {
			
	var a = document.getElementById( i );
			
	a.style.backgroundColor = nbg;

	a.style.color = nfg;

	a.style.borderColor = bc;

}

function cClassChange( i, cls ) {

	var a = document.getElementById( i );

	a.className = cls;

}

function menuLink( s, opt ) {

	if( opt == 0 ) { 

		window.location = "http://www.tradeinflo.com/" + s; 

	}else if( opt == 1 ) { 

		window.location = "https://www.tradeinflo.com/" + s; 
		
	}else if( opt == 2 ) {

		window.location = "ftp://www.tradeinflo.com/" + s;

	}
}


