
	// script for my rollovers
	<!-- hide script from old browsers
	
	function orginalWindow()
	{
		var the_width, the_heigth;
		the_width = screen.width;
		the_height = screen.height;
		resizeTo(the_width,the_height);
	}

window.onerror = null;



var netscape = 0;
var goodIE = 0;
browserName = navigator.appName.substring(0,8);
browserVer = parseFloat(navigator.appVersion);
if (browserName == "Netscape" && browserVer >= 3)
{ netscape = 1; }
if (browserName == "Microsof" && browserVer >= 4)
{ goodIE = 1; }
// end error trapping code


if (netscape || goodIE) {

	  var description = new Array();
	  description[0] = "&nbsp;about me: includes my education and work experience ";
      description[1] = "&nbsp;showcase: includes my web design and development work";
      description[2] = "&nbsp;projects: includes my work in areas of asp, database, flash & photography and print  ";
	  description[3] = "&nbsp;to contact please send me an e-mail at: sanjiv_rizal@hotmail.com or dial my cell number ";
	  
	  description[4] = "&nbsp;site best viewed with ie browser_1024 x 768 res";
	  }

	<!--
	// array of all my images
	var albums = new Array( "showc.jpg","sanjiv.jpg","proj.jpg","contact.jpg");
	// use this array for preloading the image
	var preload_albums = new Array();
	
	// preload images using an array
	for(i=0;i<albums.length;i++)
	{
		preload_albums[i] = new Image(75,75);
		preload_albums[i].src = "../srizal/images/"+albums[i];
	}
	
	
	
	// rollover function
	function swapImage(tag,img)
	{
		document.images[tag].src = "../srizal/images/"+img;
	}
	
	// animation	
	// 'i' will represent my array index key
	var i=0;
	// use this as a flag to stop the animation
	var halt=1;
	function rotateIt()
	{
		if(halt!=0)
		{
			// if we've reached the end of the array start over at 0
			if(i>=albums.length)i = 0;
			// call the swap image function
			swapImage('album',albums[i]);
			i++;
			// recursive function (a function that calls itself)
			setTimeout("rotateIt(i)",1000);			
		}
	}
	//-->

