//CHANGE ELEMENT AND FUNCTION NAMES IN PAGES AND CSS


// BROWSERS-VIDEO
	// YouTube browser w/ title 	function youtube_video(v_title,v_codenum) {
			document.getElementById('display-video').src='http://www.youtube.com/v/'+ v_codenum +'&rel=1&color1=0x888888&color2=0x555555&border=0';
			document.getElementById('now_playing-video').innerHTML='Now Playing: '+v_title;
			}

	// YouTube browser w/ title and description 	function youtube_video_descrip(v_title,v_descrip,v_codenum) {
			document.getElementById('display-video').src='http://www.youtube.com/v/'+ v_codenum +'&rel=1&color1=0x888888&color2=0x555555&border=0';
			document.getElementById('now_playing-video').innerHTML='Now Playing: '+v_title;
			document.getElementById('descrip-video').innerHTML=v_descrip;
			}

// BROWSERS-ARTICLES
	// browser w/ title 	function browser_article(v_title,v_body_article) {
			document.getElementById('display-arcticle')..innerHTML=v_body_article;
			document.getElementById('now_playing-article').innerHTML=v_title;
			}

	// YouTube browser w/ title and description 	function browser_article(v_title,v_descrip,v_body_article) {
			document.getElementById('display-arcticle')..innerHTML=v_body_article;
			document.getElementById('now_playing-video').innerHTML=v_title;
			document.getElementById('descrip-video').innerHTML=v_descrip;
			}

//	HIDE AND SHOW
	// hide or show element based on click, checkbox, menu choice, hover, mousedown, etc 	function hide_show_1(v_element) {
			if (document.getElementById(v_element).style.display=="none")
			{document.getElementById(v_element).style.display="block"}
			else
			{document.getElementById(v_element).style.display="none"}
			}

	function hide_show_2(v_element,v_value) {
			if (v_value==1 || v_value=="yes" || v_value=="true" || v_value=="show")
			{document.getElementById(v_element).style.display="block"}
			else
			{document.getElementById(v_element).style.display="none"}
			}

//	INNERHTML CHANGE
	// full html changes for one element (no quotes for attributes) 	// use embedded function containing data that calls this as it allows for more normal html in variables w/ less escaping
	function change_html(v_element, v_html1) {            document.getElementById(v_element).innerHTML=v_html1;            }

//	IMAGE, CAPTION AND DESCRIPTION	
	// changes to consistent img and 3 html elements 	function change_img_3descrip(v_img_src, v_html1, v_html2, v_html3) {
			document.getElementById('display-img').src=v_img_src;
			document.getElementById('html1').innerHTML=v_html1;
			document.getElementById('html2').innerHTML=v_html2;
			document.getElementById('html3').innerHTML=v_html3;
			}

	// changes to consistent img and 1 html element    function change_img_descrip(v_img_src,v_html1) {            document.getElementById('display-img').src=v_img_src;            document.getElementById('html1').innerHTML=v_html1;            }	// changes to differing img and 1 html element    function item_pic_cap(v_element_img,v_img_src,v_element_html1,v_html1) {            document.getElementById(v_element_img).src=v_img_src;            document.getElementById(v_element_html1).innerHTML=v_html1;            }

// WIGGLES OR MOVES WINDOW
	function move_me () { self.moveBy(-5, -5) self.moveBy(5,5) self.moveBy(-5, -5) self.moveBy(5, 5) self.moveBy(5, 5) self.moveBy(-5, -5) self.moveBy(7, 7) self.moveBy(-7, -7) self.moveBy(-5, -5) self.moveBy(5,5) self.moveBy(-5, -5) self.moveBy(5, 5) self.moveBy(5, 5) self.moveBy(-5, -5) self.moveBy(7, 7) self.moveBy(-7, -7) self.moveBy(6, 6) self.moveBy(-6,-6) self.moveBy(5, 5)	self.moveBy(-5, -5) self.moveBy(4, 4) self.moveBy(-4, -4) self.moveBy(-3, -3) self.moveBy(3, 3) self.moveBy(-2, -2) self.moveBy(2, 2) self.moveBy(-1, -1) self.moveBy(1, 1)		}

	function move_little ()		{ self.moveBy(-5, -5) self.moveBy(5,5)		}

	function move_lots ()		{ self.moveBy(-200, -5) self.moveBy(200,5)		}
	