﻿// JScript File

//if(!document.all && navigator.appVersion >= "5"){
var layerRef="document.getElementById";
var styleSwitch=".style";
function showLayer(layerName){
eval(layerRef+'("'+layerName+'")'+styleSwitch+'.visibility="visible"');
}	
function hideLayer(layerName){
eval(layerRef+'("'+layerName+'")'+styleSwitch+'.visibility="hidden"');
}
//}
/*else if (document.layers){
var layerRef="document.layers";
var styleSwitch="";
function showLayer(layerName){
eval(layerRef+'["'+layerName+'"]'+styleSwitch+'.visibility="visible"');
}	
function hideLayer(layerName){
eval(layerRef+'["'+layerName+'"]'+styleSwitch+'.visibility="hidden"');
}
}
else if (document.all){
var layerRef="document.all";
var styleSwitch=".style";
function showLayer(layerName){
eval(layerRef+'["'+layerName+'"]'+styleSwitch+'.visibility="visible"');
}	
function hideLayer(layerName){
eval(layerRef+'["'+layerName+'"]'+styleSwitch+'.visibility="hidden"');
}
}*/




//hides all
function hideAll(num){
if (num=="199"){
hideLayer('pia_animation_1_01');
hideLayer('pia_animation_1_02');
hideLayer('pia_animation_1_03');
hideLayer('pia_animation_1_04');
hideLayer('pia_animation_1_05');
hideLayer('pia_animation_1_06');
hideLayer('pia_1_01_text');
hideLayer('pia_1_02_text');
hideLayer('pia_1_03_text');
hideLayer('pia_1_04_text');
hideLayer('pia_1_05_text');
hideLayer('pia_1_06_text');

}else if (num=="299"){
hideLayer('pia_animation_2_01');
hideLayer('pia_animation_2_02');
hideLayer('pia_animation_2_03');
hideLayer('pia_animation_2_04');
hideLayer('pia_animation_2_05');
hideLayer('pia_animation_2_06');
hideLayer('pia_2_01_text');
hideLayer('pia_2_02_text');
hideLayer('pia_2_03_text');
hideLayer('pia_2_04_text');
hideLayer('pia_2_05_text');
hideLayer('pia_2_06_text');

}else if (num=="399"){
hideLayer('pia_animation_3_01');
hideLayer('pia_animation_3_02');
hideLayer('pia_animation_3_03');
hideLayer('pia_animation_3_04');
hideLayer('pia_animation_3_05');
hideLayer('pia_animation_3_06');
hideLayer('pia_3_01_text');
hideLayer('pia_3_02_text');
hideLayer('pia_3_03_text');
hideLayer('pia_3_04_text');
hideLayer('pia_3_05_text');
hideLayer('pia_3_06_text');

}else if (num=="499"){
hideLayer('pia_animation_4_01');
hideLayer('pia_animation_4_02');
hideLayer('pia_animation_4_03');
hideLayer('pia_animation_4_04');
hideLayer('pia_animation_4_05');
hideLayer('pia_animation_4_06');
hideLayer('pia_4_01_text');
hideLayer('pia_4_02_text');
hideLayer('pia_4_03_text');
hideLayer('pia_4_04_text');
hideLayer('pia_4_05_text');
hideLayer('pia_4_06_text');

}else if (num=="599"){
hideLayer('pia_animation_5_01');
hideLayer('pia_animation_5_02');
hideLayer('pia_animation_5_03');
hideLayer('pia_animation_5_04');
hideLayer('pia_animation_5_05');
hideLayer('pia_animation_5_06');
hideLayer('pia_5_01_text');
hideLayer('pia_5_02_text');
hideLayer('pia_5_03_text');
hideLayer('pia_5_04_text');
hideLayer('pia_5_05_text');
hideLayer('pia_5_06_text');

}else if (num=="699"){
hideLayer('pia_animation_6_01');
hideLayer('pia_animation_6_02');
hideLayer('pia_animation_6_03');
hideLayer('pia_animation_6_04');
hideLayer('pia_animation_6_05');
hideLayer('pia_animation_6_06');
hideLayer('pia_6_01_text');
hideLayer('pia_6_02_text');
hideLayer('pia_6_03_text');
hideLayer('pia_6_04_text');
hideLayer('pia_6_05_text');
hideLayer('pia_6_06_text');

}else if (num=="799"){
hideLayer('pia_animation_7_01');
hideLayer('pia_animation_7_02');
hideLayer('pia_animation_7_03');
hideLayer('pia_animation_7_04');
hideLayer('pia_animation_7_05');
hideLayer('pia_animation_7_06');
hideLayer('pia_7_01_text');
hideLayer('pia_7_02_text');
hideLayer('pia_7_03_text');
hideLayer('pia_7_04_text');
hideLayer('pia_7_05_text');
hideLayer('pia_7_06_text');

}else if (num=="899"){
hideLayer('pia_animation_8_01');
hideLayer('pia_animation_8_02');
hideLayer('pia_animation_8_03');
hideLayer('pia_animation_8_04');
hideLayer('pia_animation_8_05');
hideLayer('pia_animation_8_06');
hideLayer('pia_8_01_text');
hideLayer('pia_8_02_text');
hideLayer('pia_8_03_text');
hideLayer('pia_8_04_text');
hideLayer('pia_8_05_text');
hideLayer('pia_8_06_text');

}else if (num=="999"){
hideLayer('pia_animation_9_01');
hideLayer('pia_animation_9_02');
hideLayer('pia_animation_9_03');
hideLayer('pia_animation_9_04');
hideLayer('pia_animation_9_05');
hideLayer('pia_animation_9_06');
hideLayer('pia_9_01_text');
hideLayer('pia_9_02_text');
hideLayer('pia_9_03_text');
hideLayer('pia_9_04_text');
hideLayer('pia_9_05_text');
hideLayer('pia_9_06_text');
}
}



function showSome(num){
if (num=="11"){
hideAll('199');
showLayer('pia_animation_1_02');
showLayer('pia_1_02_text');

}else if (num=="12"){
hideAll('199');
showLayer('pia_animation_1_04');
showLayer('pia_1_04_text');

}else if (num=="13"){
hideAll('199');
showLayer('pia_animation_1_06');
showLayer('pia_1_06_text');

}else if (num=="14"){
hideAll('199');
showLayer('pia_animation_1_01');
showLayer('pia_1_01_text');

}else if (num=="15"){
hideAll('199');
showLayer('pia_animation_1_03');
showLayer('pia_1_03_text');

}else if (num=="16"){
hideAll('199');
showLayer('pia_animation_1_05');
showLayer('pia_1_05_text');






}else if (num=="21"){
hideAll('299');
showLayer('pia_animation_2_01');
showLayer('pia_2_01_text');

}else if (num=="22"){
hideAll('299');
showLayer('pia_animation_2_02');
showLayer('pia_2_02_text');

}else if (num=="23"){
hideAll('299');
showLayer('pia_animation_2_03');
showLayer('pia_2_03_text');

}else if (num=="24"){
hideAll('299');
showLayer('pia_animation_2_04');
showLayer('pia_2_04_text');

}else if (num=="25"){
hideAll('299');
showLayer('pia_animation_2_05');
showLayer('pia_2_05_text');

}else if (num=="26"){
hideAll('299');
showLayer('pia_animation_2_06');
showLayer('pia_2_06_text');



}else if (num=="31"){
hideAll('399');
showLayer('pia_animation_3_01');
showLayer('pia_3_01_text');

}else if (num=="32"){
hideAll('399');
showLayer('pia_animation_3_02');
showLayer('pia_3_02_text');

}else if (num=="33"){
hideAll('399');
showLayer('pia_animation_3_03');
showLayer('pia_3_03_text');

}else if (num=="34"){
hideAll('399');
showLayer('pia_animation_3_04');
showLayer('pia_3_04_text');

}else if (num=="35"){
hideAll('399');
showLayer('pia_animation_3_05');
showLayer('pia_3_05_text');

}else if (num=="36"){
hideAll('399');
showLayer('pia_animation_3_06');
showLayer('pia_3_06_text');




}else if (num=="41"){
hideAll('499');
showLayer('pia_animation_4_01');
showLayer('pia_4_01_text');

}else if (num=="42"){
hideAll('499');
showLayer('pia_animation_4_02');
showLayer('pia_4_02_text');

}else if (num=="43"){
hideAll('499');
showLayer('pia_animation_4_03');
showLayer('pia_4_03_text');

}else if (num=="44"){
hideAll('499');
showLayer('pia_animation_4_04');
showLayer('pia_4_04_text');

}else if (num=="45"){
hideAll('499');
showLayer('pia_animation_4_05');
showLayer('pia_4_05_text');

}else if (num=="46"){
hideAll('499');
showLayer('pia_animation_4_06');
showLayer('pia_4_06_text');






}else if (num=="51"){
hideAll('599');
showLayer('pia_animation_5_01');
showLayer('pia_5_01_text');

}else if (num=="52"){
hideAll('599');
showLayer('pia_animation_5_02');
showLayer('pia_5_02_text');

}else if (num=="53"){
hideAll('599');
showLayer('pia_animation_5_03');
showLayer('pia_5_03_text');

}else if (num=="54"){
hideAll('599');
showLayer('pia_animation_5_04');
showLayer('pia_5_04_text');

}else if (num=="55"){
hideAll('599');
showLayer('pia_animation_5_05');
showLayer('pia_5_05_text');

}else if (num=="56"){
hideAll('599');
showLayer('pia_animation_5_06');
showLayer('pia_5_06_text');






}else if (num=="61"){
hideAll('699');
showLayer('pia_animation_6_01');
showLayer('pia_6_01_text');

}else if (num=="62"){
hideAll('699');
showLayer('pia_animation_6_02');
showLayer('pia_6_02_text');

}else if (num=="63"){
hideAll('699');
showLayer('pia_animation_6_03');
showLayer('pia_6_03_text');

}else if (num=="64"){
hideAll('699');
showLayer('pia_animation_6_04');
showLayer('pia_6_04_text');

}else if (num=="65"){
hideAll('699');
showLayer('pia_animation_6_05');
showLayer('pia_6_05_text');

}else if (num=="66"){
hideAll('699');
showLayer('pia_animation_6_06');
showLayer('pia_6_06_text');






}else if (num=="71"){
hideAll('799');
showLayer('pia_animation_7_01');
showLayer('pia_7_01_text');

}else if (num=="72"){
hideAll('799');
showLayer('pia_animation_7_02');
showLayer('pia_7_02_text');

}else if (num=="73"){
hideAll('799');
showLayer('pia_animation_7_03');
showLayer('pia_7_03_text');

}else if (num=="74"){
hideAll('799');
showLayer('pia_animation_7_04');
showLayer('pia_7_04_text');

}else if (num=="75"){
hideAll('799');
showLayer('pia_animation_7_05');
showLayer('pia_7_05_text');

}else if (num=="76"){
hideAll('799');
showLayer('pia_animation_7_06');
showLayer('pia_7_06_text');






}else if (num=="81"){
hideAll('899');
showLayer('pia_animation_8_01');
showLayer('pia_8_01_text');

}else if (num=="82"){
hideAll('899');
showLayer('pia_animation_8_02');
showLayer('pia_8_02_text');

}else if (num=="83"){
hideAll('899');
showLayer('pia_animation_8_03');
showLayer('pia_8_03_text');

}else if (num=="84"){
hideAll('899');
showLayer('pia_animation_8_04');
showLayer('pia_8_04_text');

}else if (num=="85"){
hideAll('899');
showLayer('pia_animation_8_05');
showLayer('pia_8_05_text');

}else if (num=="86"){
hideAll('899');
showLayer('pia_animation_8_06');
showLayer('pia_8_06_text');






}else if (num=="91"){
hideAll('999');
showLayer('pia_animation_9_01');
showLayer('pia_9_01_text');

}else if (num=="92"){
hideAll('999');
showLayer('pia_animation_9_02');
showLayer('pia_9_02_text');

}else if (num=="93"){
hideAll('999');
showLayer('pia_animation_9_03');
showLayer('pia_9_03_text');

}else if (num=="94"){
hideAll('999');
showLayer('pia_animation_9_04');
showLayer('pia_9_04_text');

}else if (num=="95"){
hideAll('999');
showLayer('pia_animation_9_05');
showLayer('pia_9_05_text');

}else if (num=="96"){
hideAll('999');
showLayer('pia_animation_9_06');
showLayer('pia_9_06_text');



//Clear all  function
}else if (num=="100"){
hideAll('99');

}
}


