<!--

var myPlatform=navigator.platform.substr(0,3);
if (myPlatform=="Mac") {
     document.write("<link rel=\"stylesheet\" href=\"js_bin/artsoutloud_mac.css\" type=\"text/css\">");
}
else {
     document.write("<link rel=\"stylesheet\" href=\"js_bin/artsoutloud_win.css\" type=\"text/css\">");
}

var object=new Array();

object['h_bio']= new objectdata(48,22,"imgs_home/h_bio_o.jpg","imgs_home/h_bio.jpg","Artist Bio");
object['h_classes']= new objectdata(75,22,"imgs_home/h_classes_o.jpg","imgs_home/h_classes.jpg","Classes Info");
object['h_gallery']= new objectdata(72,22,"imgs_home/h_gallery_o.jpg","imgs_home/h_gallery.jpg","Artwork");
object['h_orders']= new objectdata(70,22,"imgs_home/h_orders_o.jpg","imgs_home/h_orders.jpg","Online Orders");
object['h_events']= new objectdata(68,22,"imgs_home/h_events_o.jpg","imgs_home/h_events.jpg","Upcoming Events");
object['h_mlist']= new objectdata(100,22,"imgs_home/h_mlist_o.jpg","imgs_home/h_mlist.jpg","Mailing List");
object['h_contact']= new objectdata(73,22,"imgs_home/h_contact_o.jpg","imgs_home/h_contact.jpg","Contact Info");

object['home']= new objectdata(55,20,"imgs/home_o.jpg","imgs/home.jpg","Home");
object['bio']= new objectdata(47,20,"imgs/bio_o.jpg","imgs/bio.jpg","Artist Bio");
object['classes']= new objectdata(77,20,"imgs/classes_o.jpg","imgs/classes.jpg","Classes Info");
object['gallery']= new objectdata(72,20,"imgs/gallery_o.jpg","imgs/gallery.jpg","Artwork");
object['orders']= new objectdata(70,20,"imgs/orders_o.jpg","imgs/orders.jpg","Online Orders");
object['events']= new objectdata(69,20,"imgs/events_o.jpg","imgs/events.jpg","Upcoming Events");
object['mlist']= new objectdata(101,20,"imgs/mlist_o.jpg","imgs/mlist.jpg","Mailing List");
object['contact']= new objectdata(69,20,"imgs/contact_o.jpg","imgs/contact.jpg","Contact Info");

function objectdata(hsize,vsize,imgovr,imgout,msg) {
		this.img_ovr=new Image(hsize,vsize);
		this.img_ovr.src=imgovr;
		this.img_out=new Image(hsize,vsize);
		this.img_out.src=imgout;
		this.msg=msg;
}

function m_ovr(name) {
		window.status=object[name].msg;
		document.getElementById(name).src=object[name].img_ovr.src;
//		document[name].src=object[name].img_ovr.src;
//      and change "id" for "name" in the <img src> tag of the source file
}

function m_out(name) {
		window.status="";
        document.getElementById(name).src=object[name].img_out.src;
//		document[name].src=object[name].img_out.src;
}

function doResize() {
        location.reload();
}

var x=screen.availWidth;

function newWin(theURL) {
             win=this.open(theURL, 'popwin', 'resizable=yes,width=390,height=390,left='+(x-390-20)+',top=0');                      
}
/*
function newWindow2(theURL) {
             win2=this.open(theURL, 'popwin', 'resizable=yes,width=450,height=350,left='+(x-450-20)+',top=0');                      
}
*/ 
// -->
