<!-- This prevents JavaScript from showing up in browsers that do not support JavaScript.
//function callJavascript(str){ // Testing getURL in songsT.php.
//alert(str)
//}
function js_to_as(songID, songName, artName) {
	document.getElementById("jsExample").onchange(songID, songName, artName);
}	
function general_JS_call( songID ) {
     getMovieName.onchange(songID);
}

function changeBlog() {
	document.getBlog.submit();
}

function changePhoto(newPhoto, newWidth, newHeight, pictitle){
	var myPhoto = document.getElementById("mainPhoto");
	myPhoto.src = newPhoto;
	document.getElementById("mainPhoto").style.width=newWidth+"px";
	document.getElementById("mainPhoto").style.height=newHeight+"px";
	//document.getElementById("mainFrame").style.width=newWidth+"px";
	//document.getElementById("mainFrame").style.height=newHeight+"px";
	document.getElementById("titleBar").innerHTML=pictitle;
}

function changePic(newPhoto, pictitle){   
	var myPhoto = document.getElementById("mainPhoto");   
	myPhoto.src = newPhoto;
	//document.getElementById("pictitleBar").innerHTML=pictitle;
	document.getElementById("chgpicTitle").name=newPhoto;
	document.getElementById("chgpicTitle").value=pictitle;
}

pickSong = function(songNum) {
	var addCart = ("add2cart"+songNum);
	var regLicense = ("songPriceP"+songNum);
	var proLicense = ("songPriceC"+songNum);
	if(!document.getElementById(regLicense).checked && !document.getElementById(proLicense).checked) { // NO License has been selected.
		document.getElementById(regLicense).checked=true; // Check Personal Use radio btn as default to save time.
	}					
}
function chgQty() {
	document.shopcart.submit();
}

function chgSort() {
	document.picpage.submit();
}
//-->
