function preloadImages()
{
	//check if there are some images in the HTML page only then preload the new images
	if(document.images)
	{
		if(!document.p)
		{
			document.p=new Array();
		}
			
		var i,j=document.p.length,a=preloadImages.arguments;
		for(i=0; i<a.length; i++)
		{
			if (a[i].indexOf("#")!=0)
			{
				document.p[j]=new Image;
				document.p[j++].src=a[i];
			}
		}
	}
}

