﻿function over(object){document.all(object.id).filters(0).Opacity = 50;}
function out(object){document.all(object.id).filters(0).Opacity = 100;}
function ShowColorTable(par){ var selectedColor = dialogHelper.ChooseColorDlg(); if (par==1){ document.data_form.fato_ktcol1.value = selectedColor.toString(16);}else{ document.data_form.fato_ktcol2.value = selectedColor.toString(16);}
}
function mapWinOpen(par){ window.open("../mpd/?par="+par+"","newwin","width=520,height=480,location=no,top=10,left=10");}
function handleSelected(par){ alert(par.options[par.selectedIndex].value); var url = encodeURI("../catesel.pl?cd="+par.options[par.selectedIndex].value); req = getXMLHttpRequest(); req.onreadystatechange = GetdataCallBack; req.open("GET", url, true); req.send(); return true;}
function GetdataCallBack(){ var html = ""; if (req.readyState == 4){ if (req.status == 200){ try{ var response = req.responseXML.documentElement; var rc = response.getElementsByTagName("data")[0].firstChild.data; if (rc != null) { html +='<select name="id">\n'; for (var i = 0; i < response.getElementsByTagName("data").length; i++) { var d1 =response.getElementsByTagName("Id")[i].firstChild.data; var d2 = response.getElementsByTagName("data")[i].firstChild.data; html += '<option value="'+d1+'">'+d2+'</option>\n';}
html +='</select>\n'; document.all["sel_data"].innerHTML=html;}
} catch (e) { }
}
}
}
function getXMLHttpRequest() { var x = null; if (typeof XMLHttpRequest != "undefined") { x = new XMLHttpRequest();} else { try { x = new ActiveXObject("Msxml2.XMLHTTP");} catch (e) { try { x = new ActiveXObject("Microsoft.XMLHTTP");} catch (e) { }
}
}
return x;}
function world_artist_serch(par){ $("#world_artist_disp").load("http://www.joy-q.com/worldartist/world_artist_list.pl",{ast: par});}
function live_house_serch(par){ $("#livehouse_disp").load("http://www.joy-q.com/livehouse/live_house_list.pl",{lst: par});}
function artist_serch(par){ $("#artist_disp").load("http://www.joy-q.com/artist/artist_list.pl",{lst: par});}
function fellow_page_live_house_serch(par1,par2){ $("#livehouse_disp").load("http://www.joy-q.com/livehouse/fellow_live_house_list.pl",{lst: par1,live_id:par2});}
function page_live_house_serch(par1,par2){ $("#livehouse_disp").load("http://www.joy-q.com/livehouse/live_house_list.pl",{lst: par1,live_id:par2});}
function live_house_live_serch(par1,par2){ $("#livehouse_disp").load("http://www.joy-q.com/liveinfo/live_house_live_list.pl",{lst: par1,live_id:par2});}
function artist_live_serch(par){ $("#artist_disp").load("http://www.joy-q.com/liveinfo/artist_live_list.pl",{lst: par});}
$(function(){ $("#beatles_title").click(function(){ $("#beatles_body").toggle("fast"); return false;}); $("#worldrock_title").click(function(){ $("#worldrock_body").toggle("fast"); return false;}); $("#livehouse_title").click(function(){ $("#livehouse_body").toggle("fast"); return false;}); $("#livehouse_map_title").click(function(){ $("#livehouse_map").toggle("fast"); return false;}); $("#girlsband_title").click(function(){ $("#girlsband_body").toggle("fast"); return false;}); $("#carolcopy_title").click(function(){ $("#carolcopy_body").toggle("fast"); return false;}); $("#beatlescopy_title").click(function(){ $("#beatlescopy_body").toggle("fast"); return false;}); $("#highschool_title").click(function(){ $("#highschool_body").toggle("fast"); return false;}); $("#kidsband_title").click(function(){ $("#kidsband_body").toggle("fast"); return false;}); $("#juniorjazz_title").click(function(){ $("#juniorjazz_body").toggle("fast"); return false;}); $("#brassband_title").click(function(){ $("#brassband_body").toggle("fast"); return false;}); $("#live_event01_title").click(function(){ $("#live_event01_body").toggle("fast"); return false;}); $("#live_event02_title").click(function(){ $("#live_event02_body").toggle("fast"); return false;}); $("#artsit_album_title").click(function(){ $("#artsit_album_body").toggle("fast"); return false;}); $("#register_artsit_title").click(function(){ $("#register_artsit_body").toggle("fast"); return false;}); $("#livehouse_whedther_title").click(function(){ $("#livehouse_whedther_body").toggle("fast"); return false;}); $("#map_livehouse_title").click(function(){ $("#map_livehouse_body").toggle("fast"); return false;}); $("#event_calender_title").click(function(){ $("#event_calender_body").toggle("fast"); return false;}); $("#stuff_calender_title").click(function(){ $("#stuff_calender_body").toggle("fast"); return false;}); $("#live_house_calender_title").click(function(){ $("#live_house_calender_body").toggle("fast"); return false;}); $("#live_house_map_title").click(function(){ $("#live_house_map_body").toggle("fast"); return false;}); $("#artist_prof_title").click(function(){ $("#artist_prof_body").toggle("fast"); return false;}); $("#top_artist_title").click(function(){ $("#top_artist__body").toggle("fast"); return false;});}); function live_house_page(){ $("#livehouse_map").hide();}
function home_page(){ }
function to_page_top(){ $.scrollTo("#pagetop",800);}
function beatles_ajax_load(){ $("#beatles_body").load("http://www.joy-q.com/ajax/beatles_album_list.pl"); $("#beatles_body").show();}
function beatlescopy(){ $("#beatlescopy_body").load("http://www.joy-q.com/ajax/spacial_artist_list.pl?par=beatlescopy"); $("#beatlescopy_body").show();}
function carolcopy(){ $("#carolcopy_body").load("http://www.joy-q.com/ajax/spacial_artist_list.pl?par=carolcopy"); $("#carolcopy_body").show();}
function girlsband(){ $("#girlsband_body").load("http://www.joy-q.com/ajax/spacial_artist_list.pl?par=girlsband"); $("#girlsband_body").show();}
function highschool(){ $("#highschool_body").load("http://www.joy-q.com/ajax/spacial_artist_list.pl?par=highschool"); $("#highschool_body").show();}
function kidsband(){ $("#kidsband_body").load("http://www.joy-q.com/ajax/spacial_artist_list.pl?par=kidsband"); $("#kidsband_body").show();}
function juniorjazz(){ $("#juniorjazz_body").load("http://www.joy-q.com/ajax/spacial_artist_list.pl?par=juniorjazz"); $("#juniorjazz_body").show();}
function brassband(){ $("#brassband_body").load("http://www.joy-q.com/ajax/spacial_artist_list.pl?par=brassband"); $("#brassband_body").show();}
function live_event01(){ $("#live_event01_body").load("http://www.joy-q.com/ajax/live_event.pl?par=01"); $("#live_event01_body").show();}
function live_event02(){ $("#live_event02_body").load("http://www.joy-q.com/ajax/live_event.pl?par=02"); $("#live_event02_body").show();}
function artsit_album(){ $("#artsit_album_body").load("http://www.joy-q.com/ajax/artsit_album.pl"); $("#artsit_album_body").show();}
function top_world_artist_serch(par){ $("#world_artist_disp").load("http://www.joy-q.com/worldartist/world_artist_list.pl",{ast: par}); $("#world_artist_disp").show();}
function resgister_artist(){ $("#register_artsit_body").load("http://www.joy-q.com/ajax/resgister_artist_list.pl"); $("#register_artsit_body").show();}
function date_int(){ _live_house_data_int(); _artsit_data_int(); _google_data_int(); _youtube_data_int();}
function movie_list(parm){ $("#left_movie_body").load("http://www.joy-q.com/movie/movie_list.pl",{par: parm});}
