// 	LOCKS RIGHT MOUSE CLICK ON PAGE

	var owner="Site content © Koonwarra Merino Stud. ";
	var maker = "Design/maintenance by Pagination";
      var webaddress = "www.pagination.com.au";
	var message = owner + " " + maker + " " + webaddress;
	
	function click(e) { //3.0
		if (document.all) {
			if (event.button == 2 || event.button == 3 || event.button == 6 || event.button == 7) {
				alert(message);
				return false;
				}
			}
		if (document.layers) {
			if (e.which == 3) {
				alert(message);
				return false;
				}
			}
		}
	if (document.layers) {
		document.captureEvents(Event.MOUSEDOWN);
		}
	document.onmousedown=click;

//	FUNCTION TO OPEN WINDOW OF CERTAIN SIZE

	function openwindow(HtmlFile,WindowWidth,WindowHeight)
		{
		var param="screenX=50,screenY=50,width="+WindowWidth+",height="+WindowHeight+",toolbar=no,menubar=no,scrollbars=yes,resisable=yes";
		displaywindow = window.open(HtmlFile,"DisplayWindow",param);
		displaywindow.reload
        	}

//  FUNCTION TO OPEN POP UP WINDOW AND MERGE FILE WITH STYLE FILE

	 function openstylewindow(StyleFile,HtmlFile,WindowWidth,WindowHeight)
		{
		var CombinedFile=StyleFile + "?file=c:/inetpub/wwwroot" + HtmlFile;
		var param="Width=" + WindowWidth+",height="+WindowHeight+",toolbar=no,menubar=no,scrollbars=yes,resisable=yes";
		displaywindow = window.open(CombinedFile,"DisplayWindow",param);
		displaywindow.reload
       	}

//    TO DISPLAY Copyright & UPDATE INFORMATION + Pagination Credit

	function dateupdated()
		{
		var modifieddate=owner + " - updated " + document.lastModified + "<br>" + maker + " <a href='http://" + webaddress + "'>" + webaddress + "</a>";
		document.write(modifieddate);
		}

//    TO DISPLAY Copyright INFORMATION  + Pagination Credit

	function copyright()
		{
		var modifieddate=owner + "<br>" + maker + " <a href='http://" + webaddress + "'>" + webaddress + "</a>";
		document.write(modifieddate);
		}

//    TO DISPLAY Update and Copyright INFORMATION  only ie no Pagination Credit

	function updatedonly()
		{
		var modifieddate=owner + " - updated " + document.lastModified;
		document.write(modifieddate);
		}


