function pagegoto(curtpage,pageName){ var test = document.getElementById('currpage').value; } function buildimage(imageHeight, imageWidth, imageType, baseURL, imageURL, links) { var obj = document.getElementById('container') var index = Math.floor(Math.random() * 1000); var index1 = Math.floor(Math.random() * 10000000); if (imageType == "ThumbNail") i = 6; else i = 12; if (baseURL == "nill") baseURL = ""; else baseURL = baseURL+"/"; var url = baseURL+imageURL+"?"+index.valueOf(); var url1 = baseURL+imageURL+"?"+index1.valueOf(); var inner_html = ""; if ((imageWidth == '76') && (imageHeight == '76')){ inner_html += '
'; inner_html += ''; inner_html += ''; inner_html += ''; inner_html += '
'; if (links != "nill") inner_html += ''; inner_html += ''; if (links != "nill") inner_html += ''; inner_html += '
'; } else if ((imageWidth == '75') && (imageHeight == '75')) { inner_html += ''; inner_html += ''; inner_html += ''; inner_html += ''; inner_html += '
'; if (links != "nill") document.write(''); if (imageType == "ThumbNail") { inner_html += ''; } else { inner_html += ''; } if (links != "nill") inner_html += ''; inner_html += '
'; } else { inner_html += '
'; inner_html += ''; inner_html += ''; inner_html += ''; inner_html += '
'; if (links != "nill") inner_html += ''; inner_html += ''; if (links != "nill") inner_html += ''; inner_html += '
'; //var test = document.getElementById("sets"); //test.src =url; } obj.innerHTML = inner_html; } function includeCss(hrefLink){ var links = document.getElementsByTagName("link"); var found = false; for(i=0;i"); } } //alert('Alert from JS');