/* Function for Object Placement
   ------------------------------
	Required Arguments:		object_ID, type, width, height, path_to_swf (TOTAL: 5 arguments)
	Optional arguements:	any number of object parameters. Name/value pairs are separated by a comma.  See example call below.
	Example call:			placeObject('mastImage','application/x-shockwave-flash','220','150','/include/site/multimedia/swf/jpgrotator.swf?file=/include/site/multimedia/swf/jpgrotator.xml','movie,/include/site/multimedia/swf/jpgrotator.swf?file=/include/site/multimedia/swf/jpgrotator.xml','wmode,transparent');
*/	

function placeObject(id,type,width,height,data) {
	document.write("\n"+'<object id="'+id+'" type="'+type+'" width="'+width+'" height="'+height+'" data="'+data+'">'+"\n");
	if (arguments.length > 5) {
		for(i = 5; i < arguments.length; i++) {
			paramValues = arguments[i].split(",");
			document.write('	<param name="'+paramValues[0]+'" value="'+paramValues[1]+'" />'+"\n");
		}
	}
	document.write('</object>'+"\n");
}

