
// Update copyright year
function updateYear() {
var curDate = new Date();
var curYear = curDate.getYear();
	if (curYear < 1000) {
	curYear+=1900;}
	document.write(" "+curYear+" ");
}

// slideshow
var SlideShowSpeed = 7000;
var CrossFadeDuration = 5;
var Picture = new Array(); 
var Caption = new Array();

Picture[1]  = 'gallery/torn_apart.jpg';
Picture[2]  = 'gallery/moment_in_dance.jpg';
Picture[3]  = 'gallery/rapture.jpg';
Picture[4]  = 'gallery/on_the_beach.jpg';
Picture[5]  = 'gallery/art_deco_ibb.jpg';
Picture[6]  = 'gallery/alexis.jpg';
Picture[7]  = 'gallery/three_sisters.jpg';
Picture[8]  = 'gallery/self_portrait.jpg';
Picture[9]  = 'gallery/lian.jpg';
Picture[10]  = 'gallery/jackknife.jpg';
Picture[11]  = 'gallery/summer_breeze.jpg';
Picture[12]  = 'gallery/will_she.jpg';
Picture[13]  = 'gallery/inner_peace.jpg';
Picture[14]  = 'gallery/reaching.jpg';
Picture[15]  = 'gallery/lady_in_red.jpg';
Picture[16]  = 'gallery/tara.jpg';
Picture[17]  = 'gallery/nadine.jpg';
Picture[18]  = 'gallery/serene.jpg';
Picture[19]  = 'gallery/lilly.jpg';
Picture[20]  = 'gallery/gold_barrette.jpg';
Picture[21]  = 'gallery/le_pareu.jpg';
Picture[22]  = 'gallery/pensive_woman.jpg';
Picture[23]  = 'gallery/reflections.jpg';
Picture[24]  = 'gallery/snowy_egret.jpg';
Picture[25]  = 'gallery/beauty.jpg';

Caption[1]  = "&quot;Torn Apart&quot;, 24&quot; x 10&quot; x 10&quot;, Edition of 18 (2009)";
Caption[2]  = "&quot;A Moment In Dance&quot;, 26&quot; x 12&quot; x 10&quot;, Edition of 18 (2009)";
Caption[3]  = "&quot;Rapture&quot;, 24&quot; x 13&quot; x 5&quot;, Edition of 9 (2008)";
Caption[4]  = "&quot;On The Beach&quot;,32&quot; x 17&quot; x 11&quot;, Edition of 18 (2008)";
Caption[5]  = "&quot;Art Deco - IBB&quot;, 23&quot; x 6&quot; x 6&quot;, Edition of 18 (2008)";
Caption[6]  = "&quot;Alexis&quot;, 27&quot; x 20&quot; x 16&quot;, Edition of 18 (2007)";
Caption[7]  = "&quot;Three Sisters&quot;, 25&quot; x 20&quot; x 10&quot;, Edition of 18 (2007)";
Caption[8]  = "&quot;Self Portrait&quot;, 15&quot; x 9&quot; x 9&quot;, Edition of 1 (2006)";
Caption[9]  = "&quot;Li'an&quot;, 40&quot; x 18&quot; x 8&quot;, Edition of 1 (2006)";
Caption[10]  = "&quot;Jackknife&quot;, 17&quot; x 7&quot; x 6&quot;, Edition of 9 (2005)";
Caption[11]  = "&quot;Summer Breeze&quot;, 38&quot; x 13&quot; x 10&quot;, Edition of 9 (2005)";
Caption[12]  = "&quot;Will She Make It?&quot;, 29&quot; x 10&quot; x 9&quot;, Edition of 9 (2005)";
Caption[13]  = "&quot;Inner Peace&quot;, 13&quot; x 15&quot; x 11&quot;, Edition of 9 (2005)";
Caption[14]  = "&quot;Reaching&quot;, 24&quot; x 18&quot; x 7&quot;, Edition of 9 (2005)";
Caption[15]  = "&quot;Lady in Red&quot;, 15&quot; x 8&quot; x 8&quot;, Edition of 9 (2005)";
Caption[16]  = "&quot;Tara&quot;, 30&quot; x 15&quot; x 13&quot;, Edition of 18 (2005)";
Caption[17]  = "&quot;Nadine&quot;, 40&quot; x 16&quot; x 10&quot;, Edition of 9 (2004)";
Caption[18]  = "&quot;Serene&quot;, 26&quot; x 16&quot; x 16&quot;, Edition of 9 (2004)";
Caption[19]  = "&quot;Lilly&quot;, 16&quot; x 12&quot; x 16&quot;, Edition of 9 (2004)";
Caption[20]  = "&quot;Gold Barrette&quot;, 23&quot; x 9&quot; x 9&quot;, Edition of 9 (2004)";
Caption[21]  = "&quot;Le Pareu&quot;, 28&quot; x 6&quot; x 6&quot;, Edition of 9 (2004)";
Caption[22]  = "&quot;Pensive Woman&quot;, 28&quot; x 8&quot; x 6&quot;, Edition of 9 (2004)";
Caption[23]  = "&quot;Reflections&quot;, 15&quot; x 10&quot; x 10&quot;, Edition of 10 (2003)";
Caption[24]  = "&quot;Snowy Egret&quot;, 15&quot; x 6&quot; x 4&quot;, Edition of 10 (2003)";
Caption[25]  = "&quot;Beauty&quot;, Work in Progress";


var tss;
var iss;
var jss = 1;
var pss = Picture.length-1;

var preLoad = new Array();
for (iss = 1; iss < pss+1; iss++){
preLoad[iss] = new Image();
preLoad[iss].src = Picture[iss];}

function runSlideShow(){
if (document.all){
document.images.Artwork.style.filter="blendTrans(duration=2)";
document.images.Artwork.style.filter="blendTrans(duration=CrossFadeDuration)";
document.images.Artwork.filters.blendTrans.Apply();}
document.images.Artwork.src = preLoad[jss].src;
if (document.getElementById) document.getElementById("CaptionBox").innerHTML= Caption[jss];
if (document.all) document.images.Artwork.filters.blendTrans.Play();
jss = jss + 1;
if (jss > (pss)) jss=1;
tss = setTimeout('runSlideShow()', SlideShowSpeed);
}

           
// image change on mouseover
if (document.images) 
{
    img1z = new Image(350,526);
    img1z.src = "gallery/ro_alexis.jpg";
    img2z = new Image(350,526);
    img2z.src = "gallery/ro_three_sisters.jpg";
	img3z = new Image(350,526);
    img3z.src = "gallery/ro_self_portrait.jpg";
    img4z = new Image(350,526);
    img4z.src = "gallery/ro_lian.jpg";
	img5z = new Image(350,526);
    img5z.src = "gallery/ro_jackknife.jpg";
    img6z = new Image(350,526);
    img6z.src = "gallery/ro_summer_breeze.jpg";
	img7z = new Image(350,526);
    img7z.src = "gallery/ro_will_she.jpg";
    img8z = new Image(350,526);
    img8z.src = "gallery/ro_inner_peace.jpg";
	img9z = new Image(350,526);
    img9z.src = "gallery/ro_reaching.jpg";
    img10z = new Image(350,526);
    img10z.src = "gallery/ro_lady_in_red.jpg";
	img11z = new Image(350,526);
    img11z.src = "gallery/ro_tara.jpg";
    img12z = new Image(350,526);
    img12z.src = "gallery/ro_nadine.jpg";
	img13z = new Image(350,526);
    img13z.src = "gallery/ro_serene.jpg";
    img14z = new Image(350,526);
    img14z.src = "gallery/ro_lilly.jpg";
	img15z = new Image(350,526);
    img15z.src = "gallery/ro_gold_barrette.jpg";
    img16z = new Image(350,526);
    img16z.src = "gallery/ro_le_pareu.jpg";
	img17z = new Image(350,526);
    img17z.src = "gallery/ro_pensive_woman.jpg";
    img18z = new Image(350,526);
    img18z.src = "gallery/ro_reflections.jpg";
	img19z = new Image(350,526);
    img19z.src = "gallery/ro_snowy_egret.jpg";
    img20z = new Image(350,526);
    img20z.src = "gallery/ro_beauty.jpg";
	img21z = new Image(350,526);
    img21z.src = "gallery/ro_on_the_beach.jpg";
	img22z = new Image(350,526);
    img22z.src = "gallery/ro_art_deco_ibb.jpg";
	img23z = new Image(350,526);
    img23z.src = "gallery/ro_rapture.jpg";
	img24z = new Image(350,526);
    img24z.src = "gallery/ro_moment_in_dance.jpg";
	img25z = new Image(350,526);
    img25z.src = "gallery/ro_torn_apart.jpg";
}

function img_act(imgName)
{
    if (document.images) 
    {	
        document["holder"].src = eval(imgName + "z.src");
    }
}

function img_inact(imgName)
{
    if (document.images) 
    {
        document["holder"].src = eval(imgName + "z.src");
    }
}


// Full sized window popups   "gallery/ro_on_the_beach.jpg"
// JK Pop up image viewer script- By JavaScriptKit.com
// Visit JavaScript Kit (http://javascriptkit.com)
// for free JavaScript tutorials and scripts
// This notice must stay intact for use

var popbackground="#2C018D" //specify backcolor or background image for pop window

function detectexist(obj){
return (typeof obj !="undefined")
}

function jkpopimage(imgpath, popwidth, popheight, imgtitle){
var windowtitle=imgtitle;  //pop window title


function getpos(){
leftpos=(detectexist(window.screenLeft))? screenLeft+document.body.clientWidth/2-popwidth/2 : detectexist(window.screenX)? screenX+innerWidth/2-popwidth/2 : 0
toppos=(detectexist(window.screenTop))? screenTop+document.body.clientHeight/2-popheight/2 : detectexist(window.screenY)? screenY+innerHeight/2-popheight/2 : 0
if (window.opera){
leftpos-=screenLeft
toppos-=screenTop
}
}

getpos()
var popwidth=popwidth+20;
var popheight=popheight+40;
var winattributes='width='+popwidth+',height='+popheight+',resizable=yes,left='+leftpos+',top='+toppos
var bodyattribute=(popbackground.indexOf(".")!=-1)? 'background="'+popbackground+'"' : 'bgcolor="'+popbackground+'"'
if (typeof jkpopwin=="undefined" || jkpopwin.closed)
jkpopwin=window.open("","",winattributes)
else{
// getpos() //uncomment these 2 lines if you wish subsequent popups to be centered too
// jkpopwin.moveTo(leftpos, toppos)
jkpopwin.resizeTo(popwidth+15, popheight+30)
}
jkpopwin.document.open()
jkpopwin.document.write('<html><title>'+windowtitle+'</title><body '+bodyattribute+'><a href="javascript:window.close()"><img src="'+imgpath+'" border="0"></body></html>')
jkpopwin.document.close()
jkpopwin.focus()
}

// block right mouse click
msg='All artwork on this web site is copyrighted!';

if (window.Event)
document.captureEvents(Event.MOUSEDOWN);
function noRightClick(e) {
if (window.Event) {
if (e.which > 1) {
ermsg();
return false;
}
return true;
}
return true;
}
document.onmousedown = noRightClick;
function noContextMenu() {
event.cancelBubble = true;
event.returnValue = false;
ermsg();
return false;
}
document.oncontextmenu = noContextMenu;
function ermsg() {
if(msg) alert(msg);
}
