\n');
}
function getFlashMovieObject( objectId ) {
if (window.document[objectId]) {
return window.document[objectId];
}
if (navigator.appName.indexOf("Microsoft Internet")==-1) {
if (document.embeds && document.embeds[objectId])
return document.embeds[objectId];
}
else { // if (navigator.appName.indexOf("Microsoft Internet")!=-1)
return document.getElementById(objectId);
}
}
function manageSong(asin) {
var trackPreviewImage = document.getElementById("track_" + asin);
var albumSampler = getFlashMovieObject("player");
if(trackPreviewImage && albumSampler) {
var currentState = trackPreviewImage["state"];
switch (currentState) {
case STATEID_PLAYING:
case STATEID_LOADING:
albumSampler.TCallLabel("/", "PausePlayback");
break;
case STATEID_STOPPED:
case STATEID_PAUSED:
case STATEID_ERROR:
case undefined:
albumSampler.SetVariable("_root.asinToPlay", asin);
albumSampler.TCallLabel("/", "PlayTrackASIN");
break;
}
}
return false;
}
var STATEID_LOADING = 1;
var STATEID_STOPPED = 2;
var STATEID_PAUSED = 3;
var STATEID_PLAYING = 4;
var STATEID_ERROR = 5;
function setTrackPreviewState(asin, state) {
var track = document.getElementById("track_" + asin);
if (track && state >= 1 && state <= 5) {
track["state"] = parseInt(state);
$("track_" + asin).removeClassName('play');
if(state == STATEID_LOADING) {
$("track_" + asin).addClassName('loading');
} else {
$("track_" + asin).removeClassName('loading');
}
if(state == STATEID_PLAYING) {
$("track_" + asin).addClassName('play');
}
}
}
var curId = 0;
function manageBInfo(elem,id) {
$('table.tracks tr').removeClass('info');
$('div.binfo').slideUp('normal');
if(curId != id) {
$('#binfo'+id).slideDown('normal');
$(elem).parent().parent().addClass('info');
curId = id;
} else {
curId = 0;
}
return false;
}
function writeCookie(value) {
//format expiry date
var date = new Date();
date.setTime(date.getTime() + ( 30 *24*60*60*1000));
//if the value is empty, set its expiry in the past to delete the cookie
if(value == '') { date.setTime(0); }
//create the cookie
document.cookie = 'auto_play=' + value
+ '; expires=' + date.toGMTString()
+ '; path=/';
}
//]]>
YBC Live! II is finally here and this is your chance to have front row seats in case you missed the concert of the hottest and most popular boys choir in Jewish music history... a DVD and Double CD featuring The Yeshiva Boys Choir live in concert at Queens College in New York City with The Chevra, Tek-Noy & Eli Gerstner performing together and solo. Composed, arranged and directed by Eli Gerstner with music by The Yosis Orchestra.
Use spaces to separate tags. Use single quotes (') for phrases.