
function badimages()
{
document.write("<table BORDER=0 CELLPADDING=0 CELLSPACING=0><tr><td WIDTH=32><IMG SRC=images/spacer.gif WIDTH=32 HEIGHT=1></td><td><font size=1><u>PLEASE NOTE</u>: The image quality on this page has been reduced to allow for faster downloads.</font></td></tr></table>");
}





/* function click(e) 
{
var message = "Sorry, right-clicking is disabled to help protect our copyrights. \n\nAll contents COPYRIGHTED by Ivor Hamilton. Any unauthorized copying, duplication, or distribution is strictly prohibited.";

if (document.all) 
{
if (event.button == 2) 
{
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; */


var message = "Sorry, right-clicking is disabled to help protect our copyrights. \n\nAll contents COPYRIGHTED by Ivor Hamilton. Any unauthorized copying, duplication, or distribution is strictly prohibited.";

function clickIE()
 
{

if (document.all) 
{
if (event.button == 2) 
{
alert(message);
return false;
}
}
if (document.layers) {
if (e.which == 3) {
alert(message);
return false;
}
}
}

//seperate for IE//
if (document.layers) {
document.captureEvents(Event.MOUSEDOWN);
}
document.onmousedown=clickIE;
 
 
 
 
 
function clickNS(e) {
if
(document.layers||(document.getElementById&&!document.all))
{
if (e.which==2||e.which==3) {alert(message);return false;}}}

//seperate for NS//
if (document.layers)
{document.captureEvents(Event.MOUSEDOWN);document.onmousedown=clickNS;}
else
{document.onmouseup=clickNS;document.oncontextmenu=clickIE;}
 
document.oncontextmenu=new Function("return false");







/** Image Arrays **/

var myImages = new Array("images/homepage-1_02.jpg","images/homepage-2_02.jpg","images/homepage-3_02.jpg","images/homepage-4_02.jpg","images/homepage-5_02.jpg","images/homepage-6_02.jpg");
var myImageLength = myImages.length - 1;

/** Insert Pictures **/

function changeOnePic()
{
var arrayNumber1 = Math.round(Math.random() * myImageLength);
document.images.mainImage.src = myImages[arrayNumber1];
}

function writeOnePic()
{
var arrayNumber1 = Math.round(Math.random() * myImageLength);
document.write("<img name='mainImage' id='mainImage' src=" + myImages[arrayNumber1] + " width=566 height=414 alt='...to me the essence of good wedding photography is to capture the joy, emotion, spontaneity and romance of the day, in a creative and informal way...' border='0'>");

}