var counter=1;var totalcounter=8;var newcounter=1;var timer="";var fullimagearray=new Array("serigraph.html#JerusalemCityofPeace","serigraph.html#JerusalemCityofPeace","serigraph.html#JerusalemCityofPeace","lithograph.html#NewBeginnings","lithograph.html#JonahJourneyofDiscovery","giclees.html","giclees.html","giclees.html","lithograph.html#HeartSongCelebration");var linkarray=new Array("serigraph.html","serigraph.html","serigraph.html","lithograph.html","lithograph.html#JonahJourneyofDiscovery","giclees.html","giclees.html","giclees.html","lithograph.html#HeartSongCelebration");function MM_preloadImages(){var d=document;if(d.images){if(!d.MM_p)d.MM_p=new Array();var i,j=d.MM_p.length,a=MM_preloadImages.arguments;for(i=0;i<a.length;i++)
if(a[i].indexOf("#")!=0){d.MM_p[j]=new Image;d.MM_p[j++].src=a[i];}}}
function slideSwitch(v){newcounter=counter;for(i=0;i<=totalcounter;i++){if(i==counter){$('#imgs'+i).animate({opacity:"show"},1000);$('#morelink').attr("href",linkarray[i]);$('#fullimage').attr("href",fullimagearray[i]);if(counter==8||counter==3||counter==4)
$('#morelink').text("MORE LITHOGRAPHS");else if(counter==5||counter==6||counter==7)
$('#morelink').text("MORE GICLEES");else
$('#morelink').text("MORE SERIGRAPHS");if(counter==3||counter==4||counter==5||counter==8||counter==0)
$('#imgtext'+i).animate({opacity:"show"},3000);}else{$('#imgs'+i).hide();if(counter==3||counter==4||counter==5||counter==8||counter==0)
$('#imgtext'+i).hide();}}
if(counter==totalcounter)counter=0;else counter++;}
$(function(){timer=setInterval("slideSwitch(0)",9000);});function previmg(){clearTimeout(timer);if(newcounter==0){newcounter=totalcounter;}else{newcounter=newcounter- 1;}
counter=newcounter;for(i=0;i<=totalcounter;i++){if(i==counter){$('#imgs'+i).animate({opacity:"show"},1000);$('#morelink').attr("href",linkarray[i]);$('#fullimage').attr("href",fullimagearray[i]);if(counter==8||counter==3||counter==4)
$('#morelink').text("MORE LITHOGRAPHS");else if(counter==5||counter==6||counter==7)
$('#morelink').text("MORE GICLEES");else
$('#morelink').text("MORE SERIGRAPHS");if(counter==3||counter==4||counter==7||counter==8||counter==0)
$('#imgtext'+i).animate({opacity:"show"},1000);}else{$('#imgs'+i).hide();if(counter==3||counter==4||counter==7||counter==8||counter==0)
$('#imgtext'+i).hide();}}
counter=counter+ 1;timer=setInterval("slideSwitch(0)",9000);}
function nextimg(){clearTimeout(timer);for(i=0;i<=totalcounter;i++){if(i==counter){$('#imgs'+i).animate({opacity:"show"},1000);$('#morelink').attr("href",linkarray[i]);$('#fullimage').attr("href",fullimagearray[i]);if(counter==8||counter==3||counter==4)
$('#morelink').text("MORE LITHOGRAPHS");else if(counter==5||counter==6||counter==7)
$('#morelink').text("MORE GICLEES");else
$('#morelink').text("MORE SERIGRAPHS");if(counter==3||counter==4||counter==5||counter==8||counter==0)
$('#imgtext'+i).animate({opacity:"show"},1000);}else{$('#imgs'+i).hide();if(counter==3||counter==4||counter==5||counter==8||counter==0)
$('#imgtext'+i).hide();}}
if(newcounter==totalcounter){newcounter=0;}else{newcounter=newcounter+ 1;}
counter=newcounter;timer=setInterval("slideSwitch(0)",9000);}
function showbutton(){$('#ssbutton').show();}
function hidebutton(){$('#ssbutton').hide();}
var careercounter=1;var totalcareercounter=3;function pcareer(){if(careercounter==1){$('#career'+careercounter).hide();careercounter=totalcareercounter;$('#career'+careercounter).animate({opacity:"show"},1000);}else{$('#career'+careercounter).hide();careercounter=careercounter- 1;$('#career'+careercounter).animate({opacity:"show"},1000);}}
function ncareer(){if(careercounter==totalcareercounter){careercounter=1;$('#career'+totalcareercounter).hide();$('#career'+careercounter).animate({opacity:"show"},1000);}else{$('#career'+careercounter).hide();careercounter=careercounter+ 1;$('#career'+careercounter).animate({opacity:"show"},1000);}}
var refcounter=1;var totalrefcounter=7;function pref(){if(refcounter==1){$('#ref'+refcounter).hide();refcounter=totalrefcounter;$('#ref'+refcounter).animate({opacity:"show"},1000);}else{$('#ref'+refcounter).hide();refcounter=refcounter- 1;$('#ref'+refcounter).animate({opacity:"show"},1000);}}
function nref(){if(refcounter==totalrefcounter){refcounter=1;$('#ref'+totalrefcounter).hide();$('#ref'+refcounter).animate({opacity:"show"},1000);}else{$('#ref'+refcounter).hide();refcounter=refcounter+ 1;$('#ref'+refcounter).animate({opacity:"show"},1000);}}
function randOrd(){return(Math.round(Math.random())-0.5);}
function fillcareer(){careerArray=new Array();careerArray[0]='<div class="careerrighttext"><h1>Hallmark Cards</h1>Hallmark Cards has included David\'s artwork five times in their "Tree of Life" Notecard line.</div><div class="floatleft"><img src="images/hallmark-logo.gif" align="top" alt="Career Highlights" title="Career Highlights"/></div>';careerArray[1]='<div class="careerrighttext"><h1>McGraw Hill Publishing Company</h1>McGraw Hill publishers included David\'s art in the two most recent editions of their college textbook, "Experiencing the World\'s Religions." They chose one living and one deceased artist to represent the Jewish religion. David\'s art is featured alongside the work of Marc Chagall.</div><div class="floatleft"><img src="images/heighlight-bottom-image.gif" align="top" alt="McGraw Hill Publishing Company" title="McGraw Hill Publishing Company"/></div>';careerArray[2]='<div class="careerrighttext"><h1>St. Martin\'s Press</h1>St. Martin\'s Press featured David\'s artwork on the covers of two of Mitchell Chefitz\'s books, "Seventh Telling" (LA Times Best Seller) and "The Thirty Third Hour."</div><div class="floatleft"><img src="images/martin-press.gif" alt="St. Martin\'s Press" title="St. Martin\'s Press"/></div>';careerArray.sort(randOrd);t=1;for(c=0;c<careerArray.length;c++){$('#career'+t).html(careerArray[c]);t=t+ 1;}
refArray=new Array();refArray[0]='"It is rare to find works of art that are, or seem to be, without precedent. The art of Bruce David is such a rarity."<br /><br />- Mazelle Van Buskirk, <br />Distinguished Lecturer in Fine Arts ';refArray[1]='"Once the viewers are guided through the magnificent array of colors and forms, they will find never-ending delight in the study of these most original drawings."<br /><br />- Mazelle Van Buskirk, <br />Art Appreciation Professor';refArray[2]='"I was most inspired by David\'s brilliant works of art. His wonderful art has captured the essence of Judaism and humanity."<br /><br />- Hadassah Art Reviewer';refArray[3]='"Magic Eye\' has nothing on this.... Taking a spiritual journey through the depths and dimensions of a Bruce David painting is dancing with destiny, with history and ancestry - all at once, an all-in-one profoundly joyous outburst."<br /><br />- Review of a Fine Arts Gallery Exhibit';refArray[4]='"The exhibit was very well received - in fact, the response was one of the most enthusiastic we have ever had.... it touched all our lives for the better."<br /><br />- Geoffrey W. Conrad, <br />Museum Director';refArray[5]='"Your art is museum and gallery quality art.... It is as absorbingly powerful as it is lyrical and resonant."<br /><br />- R. Andrew Maass, <br />Tampa Museum of Art, Director';refArray[6]='"I found David\'s drawings extremely rich, both visually and intellectually...The entire exhibition clearly reflected upon your intellectual and artistic maturity...Let me reiterate my congratulations for a superb exhibition."<br /><br />- John Goodheart, <br />School of Fine Arts, Director';refArray.sort(randOrd);t=1;for(c=0;c<refArray.length;c++){$('#ref'+t).html(refArray[c]);t=t+ 1;}}
