//Javascript file for Voices of Civil Rights//Ripple Effects - 2004// -----------------------------------------------------------------// -----------------------------------------------------------------// get browser window height to stretch drop-shadow layout // tables the full height of the browser window.// if for any reason this isn't working as expected, // make sure the doctype is correct:// <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"//        "http://www.w3.org/TR/1999/REC-html401-19991224/loose.dtd">var winH = 0;  if( typeof( window.innerWidth ) == 'number' ) {    //Non-IE   winH = window.innerHeight;  } else {    if( document.documentElement && ( document.documentElement.clientWidth || document.documentElement.clientHeight ) ) { //IE 6+ in 'standards compliant mode'      winH = document.documentElement.clientHeight;    } else { if( document.body && ( document.body.clientWidth || document.body.clientHeight ) ) { //IE 4 compatible               winH = document.body.clientHeight;      }    }  }  // un-comment the alert for testing browser height:// alert(winH);// -----------------------------------------------------------------// -----------------------------------------------------------------//flash detection// looks for version 6 or abovevar flashinstalled = 0;var flashversion = 0;MSDetect = "false";if (navigator.plugins && navigator.plugins.length){	x = navigator.plugins["Shockwave Flash"];	if (x)	{		flashinstalled = 2;		if (x.description)		{			y = x.description;			flashversion = y.charAt(y.indexOf('.')-1);            if(flashversion < 6)            { // Set desired flash version here                flashinstalled = 1;            }        }	}    else		flashinstalled = 1;	if (navigator.plugins["Shockwave Flash 6.0"])	{		flashinstalled = 2;		flashversion = 2;	}}else if (navigator.mimeTypes && navigator.mimeTypes.length){	x = navigator.mimeTypes['application/x-shockwave-flash'];	if (x && x.enabledPlugin)		flashinstalled = 2;	else		flashinstalled = 1;}else	MSDetect = "true";// -----------------------------------------------------------------// -----------------------------------------------------------------// image array - rolloversif(document.images){// main navigaiontab_project = new Image()tab_project.src =  "/images/tab_project.jpg"tab_project_o = new Image()tab_project_o.src = "/images/tab_project_o.jpg"tab_voices = new Image()tab_voices.src = "/images/tab_voices.jpg"tab_voices_o = new Image()tab_voices_o.src = "/images/tab_voices_o.jpg"tab_history = new Image()tab_history.src = "/images/tab_history.jpg"tab_history_o = new Image()tab_history_o.src = "/images/tab_history_o.jpg"tab_civil = new Image()tab_civil.src = "/images/tab_civil.jpg"tab_civil_o = new Image()tab_civil_o.src = "/images/tab_civil_o.jpg"tab_add = new Image()tab_add.src = "/images/tab_add.jpg"tab_add_o = new Image()tab_add_o.src = "/images/tab_add_o.jpg"tab_resources = new Image()tab_resources.src = "/images/tab_resources.jpg"tab_resources_o = new Image()tab_resources_o.src = "/images/tab_resources_o.jpg"head_home = new Image()head_home.src = "/images/head_home.jpg"head_home_o = new Image()head_home_o.src = "/images/head_home_o.jpg"head_tell = new Image()head_tell.src = "/images/head_tell.jpg"head_tell_o = new Image()head_tell_o.src = "/images/head_tell_o.jpg"head_enews = new Image()head_enews.src = "/images/head_enews.jpg"head_enews_o = new Image()head_enews_o.src = "/images/head_enews_o.jpg"// sub navigationsub_project1 = new Image()sub_project1.src = "/images/sub_project1.gif"sub_project1_o = new Image()sub_project1_o.src = "/images/sub_project1_o.gif"sub_project2 = new Image()sub_project2.src = "/images/sub_project2.gif"sub_project2_o = new Image()sub_project2_o.src = "/images/sub_project2_o.gif"sub_project3 = new Image()sub_project3.src = "/images/sub_project3.gif"sub_project3_o = new Image()sub_project3_o.src = "/images/sub_project3_o.gif"sub_project4 = new Image()sub_project4.src = "/images/sub_project4.gif"sub_project4_o = new Image()sub_project4_o.src = "/images/sub_project4_o.gif"sub_project5 = new Image()sub_project5.src = "/images/sub_project5.gif"sub_project5_o = new Image()sub_project5_o.src = "/images/sub_project5_o.gif"sub_project6 = new Image()sub_project6.src = "/images/sub_project6.gif"sub_project6_o = new Image()sub_project6_o.src = "/images/sub_project6_o.gif"sub_voices1 = new Image()sub_voices1.src = "/images/sub_voices1.gif"sub_voices1_o = new Image()sub_voices1_o.src = "/images/sub_voices1_o.gif"sub_voices2 = new Image()sub_voices2.src = "/images/sub_voices2.gif"sub_voices2_o = new Image()sub_voices2_o.src = "/images/sub_voices2_o.gif"sub_voices3 = new Image()sub_voices3.src = "/images/sub_voices3.gif"sub_voices3_o = new Image()sub_voices3_o.src = "/images/sub_voices3_o.gif"sub_voices4 = new Image()sub_voices4.src = "/images/sub_voices4.gif"sub_voices4_o = new Image()sub_voices4_o.src = "/images/sub_voices4_o.gif"sub_history1 = new Image()sub_history1.src = "/images/sub_history1.gif"sub_history1_o = new Image()sub_history1_o.src = "/images/sub_history1_o.gif"sub_history2 = new Image()sub_history2.src = "/images/sub_history2.gif"sub_history2_o = new Image()sub_history2_o.src = "/images/sub_history2_o.gif"sub_civil1 = new Image()sub_civil1.src = "/images/sub_civil1.gif"sub_civil1_o = new Image()sub_civil1_o.src = "/images/sub_civil1_o.gif"sub_civil2 = new Image()sub_civil2.src = "/images/sub_civil2.gif"sub_civil2_o = new Image()sub_civil2_o.src = "/images/sub_civil2_o.gif"sub_civil3 = new Image()sub_civil3.src = "/images/sub_civil3.gif"sub_civil3_o = new Image()sub_civil3_o.src = "/images/sub_civil3_o.gif"sub_civil4 = new Image()sub_civil4.src = "/images/sub_civil4.gif"sub_civil4_o = new Image()sub_civil4_o.src = "/images/sub_civil4_o.gif"sub_civil5 = new Image()sub_civil5.src = "/images/sub_civil5.gif"sub_civil5_o = new Image()sub_civil5_o.src = "/images/sub_civil5_o.gif"sub_add1 = new Image()sub_add1.src = "/images/sub_add1.gif"sub_add1_o = new Image()sub_add1_o.src = "/images/sub_add1_o.gif"sub_add2 = new Image()sub_add2.src = "/images/sub_add2.gif"sub_add2_o = new Image()sub_add2_o.src = "/images/sub_add2_o.gif"sub_resources1 = new Image()sub_resources1.src = "/images/sub_resources1.gif"sub_resources1_o = new Image()sub_resources1_o.src = "/images/sub_resources1_o.gif"sub_resources2 = new Image()sub_resources2.src = "/images/sub_resources2.gif"sub_resources2_o = new Image()sub_resources2_o.src = "/images/sub_resources2_o.gif"sub_resources3 = new Image()sub_resources3.src = "/images/sub_resources3.gif"sub_resources3_o = new Image()sub_resources3_o.src = "/images/sub_resources3_o.gif"sub_resources4 = new Image()sub_resources4.src = "/images/sub_resources4.gif"sub_resources4_o = new Image()sub_resources4_o.src = "/images/sub_resources4_o.gif"sub_resources5 = new Image()sub_resources5.src = "/images/sub_resources5.gif"sub_resources5_o = new Image()sub_resources5_o.src = "/images/sub_resources5_o.gif"}// -----------------------------------------------------------------// -----------------------------------------------------------------// rollover functionfunction RollOver(img1,ref1) {	if (document.images) {		document.images[img1].src = eval(ref1 + ".src")	}	}	// -----------------------------------------------------------------// -----------------------------------------------------------------	function popQuiz(url) {window.open(url,"quiz", "width=630,height=400,top=40,left=40,scrollbars=no,resizable=no");}// -----------------------------------------------------------------// ----------------------------------------------------------------- function popPhoto(url) {        window.open(url,"photo","width=393,height=485,top=40,left=40,scrollbars=no,resizable=no")                    }// -----------------------------------------------------------------// ----------------------------------------------------------------- function popMp3(url) {        window.open(url,"mp3","width=393,height=20,top=40,left=40,scrollbars=no,resizable=no")                    }                                        // -----------------------------------------------------------------// ----------------------------------------------------------------- function popTime(url) {        window.open(url,"time","width=640,height=480,top=40,left=40,scrollbars=no,resizable=no")                    }// -----------------------------------------------------------------// ----------------------------------------------------------------- function popMov(url) {        window.open(url,"mov","width=394,height=418,top=40,left=40,scrollbars=no,resizable=no")                    }// -----------------------------------------------------------------// -----------------------------------------------------------------function popPaint(url) {        window.open(url,"paint","width=600,height=466,top=40,left=40,scrollbars=no,resizable=no")                  	     }		 // -----------------------------------------------------------------// -----------------------------------------------------------------// -----------------------------------------------------------------// ----------------------------------------------------------------- function popBus(url) {        window.open(url,"bus","width=720,height=418,top=5,left=5,scrollbars=yes,resizable=yes")                    }// -----------------------------------------------------------------// -----------------------------------------------------------------