
	var owner="© Outdoor Elements ";
	var owneremail="info@Outdoor Elements";
	var maker = "Design/maintenance by Pagination";
    var webaddress = "www.pagination.com.au";
	var message = owner + " " + maker + " " + webaddress;
	var root = "e:/inetpub/wwwroot/vws/www.oel.com.au/";


// 	LOCKS RIGHT MOUSE CLICK ON PAGE

	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 windowname=Math.round(Math.random()*10000);
		var param="screenX=50,screenY=50,width="+WindowWidth+",height="+WindowHeight+",toolbar=no,menubar=no,scrollbars=yes,resisable=yes";
		displaywindow = window.open(HtmlFile,windowname,param);
		displaywindow.reload
        }

//	FUNCTION TO OPEN WINDOW Combining a Style file

	function openstylewindow(StyleFile,HtmlFile,WindowWidth,WindowHeight)
		{
		var windowname=Math.round(Math.random()*10000);
		var CombinedFile=StyleFile + "?file=" + root + HtmlFile;
		var param="Width=" + WindowWidth+",height="+WindowHeight+",toolbar=no,menubar=no,scrollbars=yes,resisable=yes";
		displaywindow = window.open(CombinedFile,windowname,param);
		displaywindow.reload
       	}
		

//    TO DISPLAY Copyright & UPDATE INFORMATION + Pagination Credit

	function dateupdated()
		{
		var modifieddate="<a href='mailto:" + owneremail + ".com.au'>" + owner + "</a> "  + document.lastModified + "<br><a href='http://" + webaddress + "'>" + maker + "</a>";
		document.write(modifieddate);
		}

//    TO DISPLAY Copyright INFORMATION  + Pagination Credit (ie for ASP Pages)
	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 + document.lastModified;
		document.write(modifieddate);
		}

//	  HIDE EMAIL ADDRESS

	function hideemail(name, domain)
		{
		document.write('<a href=\"mailto:' + name + '@' + domain + '\">');
		document.write(name + '@' + domain + '</a>');
		}
