var i = 0; var starttr = ""; var endtr = ""; var strattable = ""; var endtable = "
"; var starttd = ""; var endtd = ""; var trtopmid = ""; var trbottommid = ""; var test = 0; function microthumbs(imageHeight, imageWidth, imageType, baseURL, imageURL, links) { var index = Math.floor(Math.random() * 1000); if (baseURL == "null") baseURL = ""; else baseURL = baseURL+"/"; var url = baseURL+imageURL+"?"+index.valueOf(); document.write(''); document.write(''); document.write(''); document.write(''); document.write('
'); if (links != "null") document.write(''); document.write(''); if (links != "null") document.write(''); document.write('
'); } function buildimage(imageHeight, imageWidth, imageType, baseURL, imageURL, links ){ 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(); if ((imageWidth == '76') && (imageHeight == '76')){ document.write('
'); document.write(''); document.write(''); document.write(''); document.write('
'); if (links != "nill") document.write(''); document.write(''); if (links != "nill") document.write(''); document.write('
'); } else if ((imageWidth == '75') && (imageHeight == '75')) { document.write(''); document.write(''); document.write(''); document.write(''); document.write('
'); if (links != "nill") document.write(''); if (imageType == "ThumbNail") { document.write(''); } else { document.write(''); } if (links != "nill") document.write(''); document.write('
'); } else { document.write('
'); document.write(''); document.write(''); document.write(''); document.write('
'); if (links != "nill") document.write(''); document.write(''); if (links != "nill") document.write(''); document.write('
'); //var test = document.getElementById("sets"); //test.src =url; } } function buildimage_d2c_widget(imageHeight, imageWidth, imageType, baseURL, imageURL, imageOrientation, links ){ 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+"?"+imageOrientation; //var url1 = baseURL+imageURL+"?"+index1.valueOf(); if ((imageWidth == '76') && (imageHeight == '76')){ document.write('
'); document.write(''); document.write(''); document.write(''); document.write('
'); if (links != "nill") document.write(''); document.write(''); if (links != "nill") document.write(''); document.write('
'); } else if ((imageWidth == '75') && (imageHeight == '75')) { document.write(''); document.write(''); document.write(''); document.write(''); document.write('
'); if (links != "nill") document.write(''); if (imageType == "ThumbNail") { document.write(''); } else { document.write(''); } if (links != "nill") document.write(''); document.write('
'); } else { document.write('
'); document.write(''); document.write(''); document.write(''); document.write('
'); if (links != "nill") document.write(''); document.write(''); if (links != "nill") document.write(''); document.write('
'); //var test = document.getElementById("sets"); //test.src =url; } } function buildimage_a3(imageHeight, imageWidth, imageType, baseURL, imageURL, links ){ var rnd = (Math.random()*10); if(imageURL.indexOf("?")!=-1) { imageURL = imageURL.substring(0,imageURL.indexOf("?")); imageURL += "?"+rnd; } else imageURL += "?"+rnd; if (imageType == "ThumbNail") i = 6; else i = 12; if (baseURL == "nill") baseURL = ""; else baseURL = baseURL+"/"; var url = baseURL+imageURL; document.write(''); document.write(''); document.write(''); document.write(''); document.write('
'); if (links != "nill") document.write(''); document.write(''); if (links != "nill") document.write(''); document.write('
'); } function buildimage_a5(imageHeight, imageWidth, imageType, baseURL, imageURL, links ){ var index = Math.floor(Math.random() * 1000); if (imageType == "ThumbNail") i = 6; else i = 12; if (baseURL == "nill") baseURL = ""; else baseURL = baseURL+"/"; var url = baseURL+imageURL+"?"+index.valueOf(); document.write(''); document.write(''); document.write(''); document.write(''); document.write('
'); if (links != "nill") document.write(''); document.write(''); if (links != "nill") document.write(''); document.write('
'); } function buildjournalimage(imageHeight, imageWidth, imageType, baseURL, imageURL, links, skinPath ){ var index = Math.floor(Math.random() * 1000); if (imageType == "ThumbNail") i = 6; else i = 12; if (baseURL == "nill") baseURL = ""; else baseURL = baseURL+"/"; var url = baseURL+imageURL+"?"+index.valueOf(); var innerWidth = ( imageWidth - 60 ); var innerHeight = ( imageHeight - 60 ); document.write(''); document.write(''); document.write(''); document.write(''); document.write(''); document.write(''); document.write(''); document.write(''); document.write(''); document.write(''); document.write(''); document.write(''); document.write(''); document.write(''); document.write(''); document.write(''); document.write(''); if ( i == 6 ) { document.write(''); } else { document.write(''); } document.write(''); document.write(''); document.write('
'); document.write(''); document.write(''); document.write(''); document.write(''); document.write('
'); document.write('
'); document.write(''); document.write(''); document.write(''); document.write(''); document.write('
'); document.write('
'); } function build_pbp_emf_image(imageHeight, imageWidth, imageType, baseURL, imageURL, links, skinPath ){ var index = Math.floor(Math.random() * 1000); if (imageType == "ThumbNail") i = 6; else i = 12; if (baseURL == "nill") baseURL = ""; else baseURL = baseURL+"/"; var url = baseURL+imageURL+"?"+index.valueOf(); var innerWidth = ( imageWidth - 60 ); var innerHeight = ( imageHeight - 60 ); document.write(''); } function buildimage_medium(imageHeight, imageWidth, imageType, baseURL, imageURL, links, skinPath ){ var index = Math.floor(Math.random() * 1000); if (baseURL == "nill") baseURL = ""; else baseURL = baseURL+"/"; var url = baseURL+imageURL+"?"+index.valueOf(); if (imageWidth > imageHeight) { document.write(''); document.write(''); document.write(''); document.write(''); document.write('
'); if (links != "nill") document.write(''); if (imageType == "ThumbNail") { document.write(''); } else { document.write(''); } if (links != "nill") document.write(''); document.write('
'); } else { document.write(''); document.write(''); document.write(''); document.write(''); document.write('
'); if (links != "nill") document.write(''); if (imageType == "ThumbNail") { document.write(''); } else { document.write(''); } if (links != "nill") document.write(''); document.write('
'); } } function buildimagecheck(imageHeight, imageWidth, imageType, baseURL, imageURL, links ,dateupload , seti , setIdString){ if(imageType == 1) typeImage = "skins/main/images/account/icons/littlestill.gif"; else typeImage = "skins/main/images/account/icons/littlevideo.gif"; document.write(''); document.write('') document.write('') document.write(''); document.write(''); document.write(''); document.write(''); document.write('
'+dateupload+'
'); buildimage(imageHeight, imageWidth, imageType,baseUrl,imageURL,links); document.write('
'); document.write(''); document.write('') document.write(''); } function buildimaged2a2(imageHeight, imageWidth, imageType, baseURL, imageURL, links, setId){ var index = Math.floor(Math.random() * 1000); if (imageType == "ThumbNail") i = 6; else i = 12; if (baseURL == "nill") baseURL = ""; else baseURL = baseURL+"/"; var url = baseURL+imageURL+"?"+index.valueOf(); document.write(''); document.write(''); document.write(''); document.write(''); if (imageType == "ThumbNail") { document.write(''); document.write(''); document.write(''); }else { document.write(''); document.write(''); document.write(''); } document.write('
'); document.write(''); document.write('
'); //document.write(''); //document.write(''); //document.write(''); //document.write(''); //document.write('
'); //document.write(''); //document.write(''); //document.write(''); //document.write('
'); //document.write(''); //document.write(''); //document.write(''); //document.write(''); //document.write(''); //document.write(''); //document.write(''); //document.write(''); //document.write(''); //document.write(''); //document.write('
'); //document.write(''); //document.write(''); //document.write(''); //document.write(''); // if (i == 6) // document.write(''); // else // document.write('') //document.write('
'); } function placePic(p, i, u, r) { if ( r == 0 ) { document.getElementById(p).style.top = event.clientY-35; document.getElementById(p).style.left = 300; document.getElementById(i).src = u; document.getElementById(i).width = '75'; document.getElementById(i).height = '75'; document.getElementById(p).style.visibility = 'visible'; } else { document.getElementById(p).style.top = event.clientY-35; document.getElementById(p).style.left = 300; document.getElementById(i).src = u; document.getElementById(i).width = '75'; document.getElementById(i).height = '75'; document.getElementById(p).style.visibility = 'visible'; } } function removePic(p, i) { document.getElementById(i).src = 'skins/main/images/account/dot.gif'; document.getElementById(p).style.visibility = 'hidden'; } /*//checkallandclearall function CheckandClear(){ temp = document.test.elements.length ; for (i=0; i < temp; i++){ if(document.test.elements[i].checked == 1){ document.test.elements[i].checked = 0;} else {document.test.elements[i].checked = 1} } } function CheckAllmails() { for (var i=0;i'); document.write(''); if (links != "nill") document.write(''); } function squareimage(imageHeight, imageWidth, imageType, baseURL, imageURL, links, skinPath, isWidget ){ var index = Math.floor(Math.random() * 1000); if (baseURL == "nill") baseURL = ""; else baseURL = baseURL+"/"; var url = baseURL+imageURL+"?"+index.valueOf(); document.write(''); document.write(''); document.write(''); document.write(''); document.write('
'); //alert(links); if (links != "nill") if(isWidget=="yes") document.write(""); else document.write(''); if (imageType == "ThumbNail") { if ( skinPath == 'null' ) { document.write(''); } else { document.write(''); } } else { if ( skinPath == 'null' ) { document.write(''); } else { document.write(''); } } if (links != "nill") document.write(''); document.write('
'); } function albumimage(imageHeight, imageWidth, imageType, baseURL, imageURL, links, skinPath ){ var index = Math.floor(Math.random() * 1000); if (baseURL == "nill") baseURL = ""; else baseURL = baseURL+"/"; var url = baseURL+imageURL+"?"+index.valueOf(); document.write(''); document.write(''); document.write(''); document.write(''); document.write('
'); if (links != "nill") document.write(''); document.write(''); if (links != "nill") document.write(''); document.write('
'); }