var myimages=new Array()
function preloadimages(){
for (i=0;i<preloadimages.arguments.length;i++){
myimages[i]=new Image()
myimages[i].src=preloadimages.arguments[i]
}
}

preloadimages("http://www.photoshopforce.com/images/buttonTutorialsOff.jpg",
"http://www.photoshopforce.com/images/buttonTutorialsOn.jpg",
"http://www.photoshopforce.com/images/designTutorialsOff.jpg",
"http://www.photoshopforce.com/images/designTutorialsOn.jpg",
"http://www.photoshopforce.com/images/drawingOff.jpg",
"http://www.photoshopforce.com/images/drawingOn.jpg",
"http://www.photoshopforce.com/images/effectsOff.jpg",
"http://www.photoshopforce.com/images/effectsOn.jpg",
"http://www.photoshopforce.com/images/logoCreationOff.jpg",
"http://www.photoshopforce.com/images/logoCreationOn.jpg",
"http://www.photoshopforce.com/images/patternCreationOff.jpg",
"http://www.photoshopforce.com/images/patternCreationOn.jpg",
"http://www.photoshopforce.com/images/photoEffectsOff.jpg",
"http://www.photoshopforce.com/images/photoEffectsOn.jpg",
"http://www.photoshopforce.com/images/textEffectsOff.jpg",
"http://www.photoshopforce.com/images/textEffectsOn.jpg",
"http://www.photoshopforce.com/images/tutorialDatabaseOff.jpg",
"http://www.photoshopforce.com/images/tutorialDatabaseOn.jpg",
"http://www.photoshopforce.com/images/webLayoutsOff.jpg",
"http://www.photoshopforce.com/images/webLayoutsOn.jpg");


<!--
//break out of frames...
//
str = document.referrer;

if ((window != top) 
&& (str.indexOf("tutorialkit.com") < 0)
&& (str.indexOf("photoshopguides.com") < 0)
&& (str.indexOf("photoshoptower.com") < 0)
&& (str.indexOf("webdesign-tutorials.com") < 0)
){

// 
// && (str.indexOf("allowed.com") < 0)
//

top.location.href = location.href;
}

window.onload = resizeImg;
function resizeImg()
{

	  /* /////////////////
	 ///  edit begin  ///
        ///////////////// */

	var max_width = 349; // you can change this number, this is the max width in pixels for posted images

	  /* /////////////////
	 ///   edit end   ///
        ///////////////// */

	if (!document.getElementsByTagName) return;
	if (!document.body.getAttribute) return;
	for (i=0; i<document.getElementsByTagName("IMG").length; i++)
	{
		var im = document.getElementsByTagName("IMG")[i];
		if (!im.getAttribute('longdesc')) continue;
		if ( (im.width > max_width) && (im.getAttribute('longdesc').indexOf('resizemod')!=-1) )
		{
			im.style.width = String(max_width) + 'px';
			eval("popRM" + String(i) + " = new Function(\"popRM = window.open('" + im.src + "','christianfecteaudotcom','top=10,left=10,scrollbars=1,resizable=1'); popRM.focus();\")");
			eval("im.onclick = popRM" + String(i) + ";");
			document.all ? im.style.cursor = 'hand' : im.style.cursor = 'pointer';
			im.title = 'Click to view full-size';
		}
	}
}
//-->
