preloadRange(0,_PRELOADRANGE); function init() { preloadRange(0,_PRELOADRANGE); changeSlide(); } var sub_nav_mouseover_color = "#FFFFFF"; var background_base = "img/base/ba2_808_2.gif"; var next = 2; var point1 = 1; var point2 = 1; var block_img = 16; var show_status = 0; var l_img_src_no1 = 0; //getting request data var ReqParam = new Object() ; var Parameters = document.location.search.substr(1).split('&') ; for ( i = 0 ; i < Parameters.length ; i++ ) { var Parameter = Parameters[i].split('=') ; var Key = Parameter[0] ; var Value = Parameter[1] ; ReqParam[ Key ] = Value ; } var l_str_img_type = ReqParam['frm_data1_type']; var l_str_img_data = ReqParam['frm_data1']; var l_str_action = ReqParam['hid_page_id']; //alert(l_str_img_data); //alert(l_str_img_type); if(l_str_img_data == null) { show_status = 1; //alert("in undefined"); point1 = 1; if(numImgs < block_img) { point2 = numImgs; } else { point2 = block_img*1; } } else if(l_str_img_type != null) { if(l_str_img_type == "next") //for next imgs { show_status = 2; point1 = l_str_img_data*1; if(numImgs < (l_str_img_data +block_img)) { point2 = numImgs; } else { point2 = (l_str_img_data*1)+(block_img-1); } } else if(l_str_img_type == "all") //for display all img { show_status = 3; point1 = 1; point2 = numImgs; } else if(l_str_img_type == "large") //for display all img { show_status = 4; l_img_src_no1 = (l_str_img_data*1); } else { //for default if tamper show_status = 1; point1 = 1; if(numImgs < block_img) { point2 = numImgs; } else { point2 = block_img*1; } } } function MM_popupMsg(msg) { //v1.0 alert(msg); } function MM_openBrWindow(theURL,winName,features) { //v2.0 newwin =window.open(theURL,winName,features); } function frm_next(flow) { //alert("hai1"); if(flow == 2) { document.photo_frm.frm_data1_type.value = "next"; } else if(flow == 3) { document.photo_frm.frm_data1_type.value = "all"; } else if(flow == 1) { document.photo_frm.frm_data1_type.value = "new"; } if(l_str_action != null) { document.photo_frm.action =l_str_action; } document.photo_frm.submit(); return false; } function frm_large(lrg) { //alert("hai2"); document.photo_frm.frm_data1_type.value = "large"; document.photo_frm.frm_data1.value = lrg; if(l_str_action != null) { document.photo_frm.action =l_str_action; } document.photo_frm.submit(); return false; } //output data //document.write('function getData()'); //document.write('{'); //document.write('alert("haidata");'); //document.write('}'); document.write('
'); document.write('
'); document.write(' '); document.write('
'); document.write(''); document.write(''); //alert("in undefined"); if(show_status == 0 || show_status == 1 || show_status == 2 || show_status == 3 ) { //alert("in if"); document.write(' '); document.write(' '); document.write(' '); document.write(' '); document.write('
'); document.write(' '); var out1 = ""; var out2 = ""; out1 += ' '; out1 += ' '; out1 += ' '; out1 += ' '; out2 += ' '; out2 += ' '; out2 += ' '; document.write(out1); document.write(out2); //document.write('
  '; out1 += point1+' - '+point2+' '+TXT_Var48956+' '+numImgs+' | '; if(numImgs != point2) { out1 += ''+TXT_Var48700+' | '; } out1 += ' '+TXT_Var48701+''+TXT_Var48702+' '+TXT_Var48703+' |  '+TXT_Var48704+''; out1 += '  
'+TXT_Var48705; out2 += '  
'); //document.write(' '); for(var i=point1;i<=point2;i++ ) { var flag1= false; if( ((i%4 == 1) && (!flag1))) { //document.write(' '); document.write(' '); } document.write(' '); if(i%4 == 0) { document.write(' '); } flag1 = true; } var cont_pnt = point2%4; if(cont_pnt>0) { for(var i=4;i>cont_pnt;i-- ) { document.write(' '); } document.write(' '); } //document.write('

'); document.write(' '+imageNameArray[i-1]+'
                     '); document.write('
'); //document.write(' '); document.write(out2); document.write(out1); document.write('
'); document.write('
'); } else if(show_status == 4) { //for stating var curImg = l_img_src_no1-1; document.write(' '); document.write(' '); document.write(' '); document.write(' '); document.write('
'); document.write(' '); document.write(' '); document.write(' '); document.write(' '); var out3 = ""; var out31 = ""; out3 += ' '; out3 += ' '; out3 += ' '; out3 += ' '; out31 += ' '; out31 += ' '; out31 += ' '; out31 += ' '; document.write(out3); document.write(' '); document.write(' '); document.write(' '); document.write(out31); document.write('
'); //document.write(l_img_src_no1+' of '+numImgs+' //div1 document.write('
'); document.write('
'); document.write('
'; //div2 out3 += '
'; out3 += '
'+TXT_Var48702+' '+TXT_Var48703+' |  '+TXT_Var48704; out3 += '  
'; //div2 out31 += '
'; out31 += '
'+TXT_Var48702+' '+TXT_Var48703+' |  '+TXT_Var48704; out31 += '  
'); document.write(' '); document.write(' '); document.write(' '); document.write('


'); //div3 document.write('

'); document.write('
'); //div4 document.write('

'); document.write('

'); document.write('

'); document.write('
'); document.write('

'); document.write('
'); } document.write('
'); document.write(''); //alert("end");