function chgCursor(style)
{
	document.body.style.cursor = style;
}

function changeImages() {
			for (var i=0; i<changeImages.arguments.length; i+=2) {
			document[changeImages.arguments[i]].src = changeImages.arguments[i+1];
		}
	}

function imgChange(img_id, img_name, txt_id, text)
{
	document.images[img_id].src = img_name;
	document.getElementById(txt_id).innerHTML = text;
	
}

function imgChange2(img_id, img_name, alt, txt_id, text)
{

	$image = new Array();
	$alt_image = new Array();
	$link = new Array();
	$alt_label = new Array();
	$text = new Array();
	
	$image[0]="image1_bw.jpg";
	$alt_image[0]="image1.jpg";
	$link[0]="index.php?inc=intro";
	$alt_label[0]="Misha Design";
	$text[0]="<b>iC Business Solutions</b> develops eye-catching websites.";

	$x=1;
	$image[$x]="image1_bw.jpg";
	$alt_image[$x]="image1.jpg";
	$link[$x]="index.php?inc=intro";
	$alt_label[$x]="Misha Design";
	$text[$x]="This is an image taken from the website of <b>Misha Design Studio</b>.<br /> Misha is the website of international muralist and artist Lynne Misiewicz.";

	$x=2;
	$image[$x]="image5_bw.jpg";
	$alt_image[$x]="image5.jpg";
	$link[$x]="index.php?inc=intro";
	$alt_label[$x]="St James Juniors";
	$text[$x]="This image has been taken from the website of <b>St James Junior School</b> in Tunbridge Wells.";

	$x=3;
	$image[$x]="image3_bw.jpg";
	$alt_image[$x]="image3.jpg";
	$link[$x]="index.php?inc=intro";
	$alt_label[$x]="Guy Portelli";
	$text[$x]="This image is from a site currently under development for reknown sculptor <b>Guy Portelli</b>.";

	$x=4;
	$image[$x]="image4_bw.jpg";
	$alt_image[$x]="image4.jpg";
	$link[$x]="http://www.ic-business-solutions.co.uk";
	$alt_label[$x]="Just Dresses";
	$text[$x]="This image is taken from <b>Just Dresses</b>, a shop for girls dresses and now a mojor website.";

	if(alt=='main')
	{
		imgName="homepage/images/" + $image[img_name];
	}
	else
	{
		imgName="homepage/images/" + $alt_image[img_name];
	}	
	
	newText=$text[text];
	
	document.images[img_id].src = imgName;
	document.getElementById(txt_id).innerHTML = newText;
	
}
