<!--
var windowCount = 1;

function showModal(msg) {
	alert(msg);
}

function closeFrame() {
	self.close();
}

function changePage() {
	if (self.parent.frames.length != 0)
		self.parent.location = document.location;
}

function gonext(thePage) {
	i = window.opener;	
	if (i == null) {
		document.location = thePage;
	}
	else {
		opener.location = thePage;
	    self.close();
	}
}

function changeHREF(theAnchor, theLink, theWidth, theHeight) {
	theAnchor.href = theLink;
}

function openFRAME(theAnchor, theFile, aWidth, aHeight) {
	var windowName = 'Window'+windowCount;
	var theLink = 'JavaScript:openNewWindow(\''+theFile+'\',\''+windowName+'\','+aWidth+','+aHeight+')';
	theAnchor.href = theLink;
	theAnchor.target = "";
}

function openNewWindow(fileName,windowName,theWidth,theHeight) {
	window.open(fileName,windowName,"toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=1,resizable=1,width="+theWidth+",height="+theHeight);
	windowCount++;
}

function changePRINT(theAnchor, theFile, aWidth, aHeight) {
	var windowName = 'Window'+windowCount;
	var theLink = 'JavaScript:openPRINTWindow(\''+theFile+'\',\''+windowName+'\','+aWidth+','+aHeight+')';
	theAnchor.href = theLink;
	theAnchor.target = "";
}

function openPRINTWindow(fileName,windowName,theWidth,theHeight) {
	window.open(fileName,windowName,"toolbar=0,location=0,directories=0,status=0,menubar=1,scrollbars=1,resizable=1,width="+theWidth+",height="+theHeight);
	windowCount++;
}

version = "0";
browserName = navigator.appName;
browserVer = parseInt(navigator.appVersion);
has_loaded=0;
var status1 = "Fashions";
var status2 = "Wearable Art";
var status3 = "Fine Art Paintings";
var status4 = "Interior Furnishings";
var status5 = "Biography";
var status6 = "Commissions";
var status7 = "Painting Classes";
var status8 = "Wholesale";
var status9 = "Contact";
var status10 = "Privacy & Terms";
var status11 = "Home";

function loadimage()
{
if (browserName == "Netscape" && browserVer >= 3) version = "n3";
if (browserName == "Microsoft Internet Explorer" && browserVer >= 3) version = "n3";
if (version == "n3")
  {
 overImage1 = new Image();
 overImage1.src = "graphics/bullet-on.gif";
 
 outImage1 = new Image();
 outImage1.src = "graphics/spacer.gif";

 has_loaded=1;
  }
}

function mouse_over(imageNum) {
{
	var iNum;
	var i;
	var name;
	var iname;
	name = "status"+imageNum;
	window.status = eval(name);
	if (version != "n3")
	  return true;
	iNum = parseInt(imageNum);
	name = "image"+iNum;
	iname = "overImage1.src";
	document[name].src = eval(iname);  
}
  return true;
}

function mouse_out(imageNum) {
if (has_loaded==1)
{
	var iNum;
	var i;
	var name;
	var iname;
	window.status = " ";
	if (version != "n3")
	  return true;
	iNum = parseInt(imageNum);
	name = "image"+iNum;
	iname = "outImage1.src";
	document[name].src = eval(iname);  
}
  return true;
}

//this is the var section for the dropdowns -------------
var howmanymenus = 1; // 0=1 1=2 2=3 etc
var menunames = new Array(howmanymenus);
menunames[0] = "menu";
menunames[1] = "menu2";

//widths of navbar menu headers
var navwidth = new Array(howmanymenus);
navwidth[0] = 150;
navwidth[1] = 150;

var cellpad=0;
var effectopen = -1; //set to -1 for no effects
var effectclose = -1; //set to -1 for no effects
var buttonwidth = 125; //how wide is each menu Item
var buttonheight = 50; //how high is each menu Item
var menudir ="ver"; //horizontal or vert   use "hor" or "ver"
var path_to_stylesheet = "font_1.css";
//these are for news only
var newstimer=0; //in seconds
var newseffect=0;//open and close effect
var newswide=0;
var newshigh=0;

//this is the drop down programming section -------------
// cbddm.js
// V 1.4e
// 21/Nov/2002
// (c) Andrew Holt
// http://www.webdevtips.co.uk
// http://www.dropmenu.co.uk
// http://www.webdesignhelp.co.uk
// http://www.andys-onestop.co.uk
//14/08 konqueror workaround
//works in chimera
//You are free to use this script providing you leave all the comments intact
//Scripts can end up all over the net and by removing comments you are stopping people from getting proper updates from the author. 
//End of preaching :)
//http://www.dropmenu.co.uk

//Enjoy

//Andy

var toggleswitch=0;
var Mac  =  (navigator.userAgent.indexOf("mac")!=-1)  || (navigator.userAgent.indexOf("Mac")!=-1);
var opnew = (navigator.userAgent.indexOf('Opera 7')!=-1);
var opold = (navigator.userAgent.indexOf('Opera')!=-1);
var msie  =  (navigator.userAgent.indexOf('MSIE')!=-1);
var moz  =  (navigator.userAgent.indexOf('Gecko')!=-1);
var NS6  =  (navigator.userAgent.indexOf('Netscape')!=-1 && navigator.userAgent.indexOf('Gecko')!=-1);
var Nav4  = (document.layers); 
var konq = (navigator.userAgent.indexOf('Konqueror')!=-1); 
if (opold && msie || opold){var opold=1; msie=0;} 
if (msie && !opold){msie=1;}
if(opnew && opold){opold=0;}
if(msie || moz || opnew){var dom = 1;}
var stopshow=0;
var noway=0;



if(konq){noway=1}

var timerID=null;
var timerID2=null;
var stopclose=1;
var whatsopen = "none";
var newsonoff=0;
var operaload=0;
var isform="no";
var menutop=0;
var menuleft=0;
var nsmenutop=0;
var nsmenuleft=0;

if (Nav4) {
    window.captureEvents(Event.MOUSEMOVE);
    window.onmousemove=move;
}
function move(e) {
nsmenuleft=e.pageX;
nsmenutop=e.pageY;
nsmenuleft1-=0;
nsmenutop-=0;
}

if(noway==0){
document.write("<link rel=\"stylesheet\" href=\""+path_to_stylesheet+"\">");
}
//###################################################
function startup(){
if(noway){return;}
if (msie && !Mac)
        {       
for(var i = 0 ; i <= howmanymenus ; i++){
toggle2(menunames[i]);}
        }
 else
       {return false;}
}
//End Startup function
//###################################################


//###################################################
function toggle(whatmenu,isMain){
if(noway){return;}
getpositions(); 
if(newsonoff==1){return false;}
if (isMain==1){

	if(timerID){clearTimeout(timerID);}
	
	if (whatsopen == "none"){
	toggle2(whatmenu);
	
	isMain=0;
	}

	if(whatsopen == whatmenu){
	isMain=0;
	}

	if(whatsopen != whatmenu && whatsopen != "none"){
	toggle2(whatsopen);
	toggle2(whatmenu);
	isMain=0;
	}
if(timerID2){clearTimeout(timerID2)}
timerID2=setTimeout("toggle2('"+whatmenu+"');",2000);
return;
}
if(isMain==0){
	if(whatsopen != "none" && isMain!=1){
	toggle2(whatmenu);
	}
}
}
//###################################################


//###################################################

function toggle2(whatmenu)
{
if(noway){return;}

//================================================
        if (msie)
        {       
                if(effectopen != -1 && effectclose != -1){      
                eval(whatmenu+".filters(0).Apply();");
                }
                if (eval(whatmenu+".style.visibility") == 'hidden')
                {
			   if(isform=="yes"){document.getElementById('formhide').style.visibility='hidden';}
         	               eval(whatmenu+".style.visibility='visible';");                        
                        eval(whatmenu+".filters[0].transition=effectopen");                        
                        whatsopen=whatmenu;                     
                }
                else
                {
				
				if(isform=="yes"){document.getElementById('formhide').style.visibility='visible';}
                        eval(whatmenu+".style.visibility = 'hidden';");
                        
                        eval(whatmenu+".filters[0].transition=effectclose");
                        
                        whatsopen="none";
                }       
                
            eval(whatmenu+".filters(0).Play();");
        
        }
//================================================


//================================================      
if (opold)
{
if(newsonoff !=1){   
	menuheight = buttonheight;
	winx = event.x;
	menuleft=winx;
	x1=buttonwidth/2;
		if(operaload==0 && menudir=="hor"){
		operatop = event.y+buttonheight;;
		operaload=1;
		}	
		if(operaload!=0 && menudir=="hor"){
		menutop=operatop;
		}	
	widtot = winx + x1;
		if (widtot > docwidth && menudir=="hor"){       
		menuleft = winx - buttonwidth;
		}
		else
		{
		var menuleft = winx -x1;
		}	 
		if (menudir=="ver"){
		menuleft = winx+30;
		menutop = event.y;
		}		  
	eval("document.getElementById('"+whatmenu+"').style.left="+menuleft);
	eval("document.getElementById('"+whatmenu+"').style.top="+menutop); 
}                 
			    if (toggleswitch==0)
                {
				if(isform=="yes"){document.getElementById('formhide').style.visibility='hidden';}
                        eval(whatmenu+".style.visibility='visible';");
                        toggleswitch=1;
                        whatsopen=whatmenu;
                        return;
                }
                if (toggleswitch==1)
                {
				if(isform=="yes"){document.getElementById('formhide').style.visibility='visible';}
                        eval(whatmenu+".style.visibility = 'hidden';");
                toggleswitch=0;
                whatsopen="none";
                return;
                }               
        
}
//================================================


//================================================
if(Nav4){

if (toggleswitch==0 && isform=='yes'){document.layers["formhide"].visibility = 'hidden';}
if (toggleswitch==1 && isform=='yes'){document.layers["formhide"].visibility = 'visible';}
if (toggleswitch==0 && whatmenu=="newsitem"){document['newsitem'].visibility='visible';toggleswitch=1;return; }
if (toggleswitch==1 && whatmenu=="newsitem"){document['newsitem'].visibility='hidden';toggleswitch=0;return; }
if (toggleswitch==0){
		if(menudir =="hor"){
 		x1=buttonwidth/2;		
 		nsmenuleft-=x1; 		
		eval("document['"+whatmenu+"'].top="+nsmenutop+"+"+buttonheight);
		eval("document['"+whatmenu+"'].left="+nsmenuleft+"+10");
		}
		if(menudir =="ver"){
		eval("document['"+whatmenu+"'].top="+nsmenutop);
		eval("document['"+whatmenu+"'].left="+nsmenuleft+"+20");
		}
document.layers[whatmenu].visibility='visible';           
toggleswitch=1;
whatsopen=whatmenu;
return;
}
		if (toggleswitch==1){
		document.layers[whatmenu].visibility='hidden';              
		toggleswitch=0;
		whatsopen="none";
		return;
		}
}
//================================================


//================================================
if (moz || opnew)
        {
        if(toggleswitch == 0){
		if(isform=="yes"){document.getElementById('formhide').style.visibility='hidden';}
        eval("document.getElementById('"+whatmenu+"').style.visibility = 'visible';");
toggleswitch=1;
whatsopen=whatmenu;
;return;}
    if(toggleswitch == 1){
	if(isform=="yes"){document.getElementById('formhide').style.visibility='visible';}
	eval("document.getElementById('"+whatmenu+"').style.visibility = 'hidden';");toggleswitch=0;whatsopen="none";return;}
        }


//================================================
}



//###################################################
function goSub(where,what,tgt)
{
stopshow=-1;
clearTimeout(timerID);
clearTimeout(timerID2);
if(tgt==''){var wintgt="self";}
else
{var wintgt=tgt;}    
if(effectopen!=-1 || effectclose!=-1){toggle2(what);}        
        if(tgt == ''){whereto= "location.href='"+where+"'";}    
        if(tgt == 'new'){whereto= "window.open('"+where+"','"+tgt+"');";}       
        if(tgt != 'new' && tgt != ''){whereto= "parent."+tgt+".location.href='"+where+"'";}
        setTimeout("eval(whereto)",550);
}
//###################################################



//###################################################
function getpositions(){
if(noway){return;}
if (Nav4 || NS6){
docwidth = window.innerWidth;docwidth-=0; }
if(msie || (moz && !NS6) || konq || opold || opnew ){
docwidth = document.body.clientWidth;
docwidth-=0;
}

//================================================      
if (dom){
var menutop = document.getElementById('navbar').offsetTop;
var menuleft = document.getElementById('navbar').offsetLeft;
var menuheight = document.getElementById('navbar').offsetHeight;

if(menudir=="hor"){menutop += menuheight+2;}
if(menudir=="ver"){ menuleft += navwidth[0]+5;menutop += cellpad;}
         
for(var i = 0 ; i <= howmanymenus ; i++){
if(menudir == "hor"){menuleft+=cellpad;}
eval("document.getElementById('"+menunames[i]+"').style.left="+menuleft);
eval("document.getElementById('"+menunames[i]+"').style.top="+menutop);  
              
	if(menudir=="hor"){
	tot=menuleft+navwidth[i]+buttonwidth;
		if( tot >= docwidth ){
		menuleft += navwidth[i]+navwidth[i+1];
		menuleft -= buttonwidth;  
		}
		else
		{                        
		menuleft += navwidth[i]+cellpad;
		if(NS6){menuleft += cellpad;}
		}
}

	if(menudir=="ver"){
	menutop += buttonheight+cellpad+cellpad;
		if(moz){menutop += cellpad;}
	}
}
//================================================

//###################################################
}
}

function donewsitem(onoff){
if(noway){return;}
newsonoff=onoff;
	if (window.innerWidth){
		docwidth = window.innerWidth;
		docheight = window.innerHeight;
		}
	else
	{
		docwidth = document.body.clientWidth;
		docheight = document.body.clientHeight;
	}
	
newsleft = docwidth-newswide;
newsleft=newsleft/2;
newstop = docheight-newshigh;
newstop=newstop/2;
timer=newstimer*1000;
effectopenbak=effectopen;
effectclosebak=effectclose;

if(newsonoff != 1){return false;}

toggleswitch = 1;
if(dom || konq || opold || opnew){
	effectopen=newseffect;
	effectclose=newseffect;
	document.getElementById("newsitem").style.left=newsleft;
	document.getElementById("newsitem").style.top=newstop;
	toggle2('newsitem');
	}
	
if (Nav4) { 
toggleswitch = 0;  
       document['newsitem'].top=newstop;
	   document['newsitem'].left=newsleft; 	  
		}
toggle2('newsitem');
setTimeout("toggle2('newsitem');newsonoff=0;effectopen=effectopenbak;effectclose=effectclosebak",timer);

}
function killMenu(whatwait){
if(noway){return;}
if(stopshow==-1){return;}
if(timerID){clearTimeout(timerID)}
if(timerID2){clearTimeout(timerID2)}
timerID=setTimeout("toggle2('"+whatwait+"');",500);
}
function checkMenu(){
if(noway){return;}
if(stopshow==-1){return;}
if(timerID){clearTimeout(timerID)}
if(timerID2){clearTimeout(timerID2)}
}

//End of Script
// Get updates and fixes @ http://www.dropmenu.co.uk
//Please leave these comments intact
//-->
