var xmlhttp_product = false;
try {xmlhttp_product = new ActiveXObject("Msxml2.XMLHTTP"); } catch (e) {
try { xmlhttp_product = new ActiveXObject("Microsoft.XMLHTTP"); } catch (E) { xmlhttp_product = false; }
}
if (!xmlhttp_product && typeof XMLHttpRequest != 'undefined') { xmlhttp_product = new XMLHttpRequest(); }
function showThis(id){
var result="";
xmlhttp_product.open('GET','http://beringharjo.com/show-img-once/'+id+'/show-img-once.html');
xmlhttp_product.onreadystatechange = function() {
if ( xmlhttp_product.readyState == 4 && xmlhttp_product.status == 200 ) {
result=xmlhttp_product.responseText;
result=result.replace(/^\s+|\s+$/g, '');
document.getElementById("txtImageName").value=result;
document.getElementById("txtIdImage").value=id;
document.getElementById("img_selected").innerHTML = '
';
document.getElementById("image_place").innerHTML = '
';
document.getElementById("image_loader").innerHTML = 'detail';
} else {
document.getElementById("image_loader").innerHTML = '
generating..';
}
}
xmlhttp_product.send(null);
}
function detailThis(){
winObj=window.open('http://beringharjo.com/image/product/'+document.getElementById('txtIdImage').value+'/'+document.getElementById('txtImageName').value+'/vieworiginal/', "summer","width=500,height=550,resizable=yes,scrollbars=yes,location=yes");
winObj.moveTo(100,100); // Move to left-hand corner of screen
winObj.focus();
}
function detailThisOnce(id,img_name){
winObj=window.open('http://beringharjo.com/image/product/'+id+'/'+img_name+'/vieworiginal/', "summer","width=500,height=550,resizable=yes,scrollbars=yes,location=yes");
winObj.moveTo(100,100); // Move to left-hand corner of screen
winObj.focus();
}