<!--
// home page quote array
q_array = new Array(4)
q_array [0] = "<i>When I work, I work very fast, but preparing to work can take any length of time</i>&nbsp;&nbsp;&nbsp;<b>Cy Twombly</b>";
q_array [1] = "<i>Color is my day-long obsession, joy and torment</i>&nbsp;&nbsp;&nbsp;<b>Claude Monet</b>";
q_array [2] = "<i>One can have no smaller or greater mastery than mastery of oneself</i>&nbsp;&nbsp;&nbsp;<b>Leonardo da Vinci</b>";
q_array [3] = "<i>All true artists, whether they know it or not, create from a place of no-mind, from inner stillness</i>&nbsp;&nbsp;&nbsp;<b>Ernst Ludwig Kirchner</b>";
q_array [4] = "<i>Believe it or not, I can actually draw</i>&nbsp;&nbsp;&nbsp;<b>Michelangelo</b>";
q_array [5] = "<i>Create like a god, command like a king, work like a slave (<b>Constantin Brancusi</b>)";
q_array [6] = "<i>A work of art is a world in itself reflecting senses and emotions of the artist's world</i>&nbsp;&nbsp;&nbsp;<b>Hans Hoffman</b>";
q_array [7] = "<i>An empty canvas is a living wonder.. far lovelier than certain pictures</i>&nbsp;&nbsp;&nbsp;<b>Wassily Kandinsky</b>";
q_array [8] = "<i>I try to apply colors like words that shape poems, like notes that shape music</i>&nbsp;&nbsp;&nbsp;<b>Joan Miro</b>";
q_array [9] = "<i>Art is the thrilling spark that beats death - thats all</i>&nbsp;&nbsp;&nbsp;<b>Brett Whiteley</b>";

function setQuote() {
// pick random quote
	var selquote = q_array[Math.round(Math.random()*9)];
	document.getElementById('quote').innerHTML=selquote;
}

function writeFlashTags(movie,height,width,flashVars,alignment,wmode,menu,backgroundcolor,id) {

	//defaults
	wmode		= (wmode == undefined ? 'opaque' : wmode);
	menu		= (menu == undefined ? 'false' : menu);
	alignment	= (alignment == undefined ? 'false' : alignment);
	id			= (id == undefined ? 'false' : id);
	flashVars			= (flashVars == undefined ? '' : flashVars);
	backgroundcolor			= (backgroundcolor == undefined ? '' : backgroundcolor);
	
	if(id != false){
		var idAttribute = 'id="'+id+'"';
	} else {
		var idAttribute = '';
	}
	
	var classId = '';
	if(navigator.appVersion.toLowerCase().indexOf("msie")){
		//IE7 might act weird if this is not set...
		classId = 'classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" ';
	}
	
	var HTML = '';
	HTML += '<object type="application/x-shockwave-flash" data="'+movie+'" width="'+width+'" height="'+height+'" '+idAttribute+'>';
	HTML += '	<param name="movie" value="'+movie+'" />';
	HTML += '	<param name="menu" value="'+menu+'" />';
	HTML += '	<param name="flashVars" value="' + flashVars + '" />';
	HTML += '	<param name="wmode" value="'+wmode+'" />';
	
	// If wmode is opaque and a backgroundcolor has been defined
	if(backgroundcolor != '' && wmode != 'transparent') {
		HTML += '	<param name="bgcolor" value="' + backgroundcolor + '" />';
	}

	HTML += '</' + 'object>';

	document.write(HTML);

} 
// -->
