if(document.getElementById("Loption2") != null)
{
document.getElementById("Loption2").className = "emptyTabCell";
document.getElementById("Loption2").innerHTML = " ";
document.getElementById("option2").className = "emptyTabCell";
document.getElementById("option2").innerHTML = " ";
document.getElementById("Roption2").className = "emptyTabCell";
document.getElementById("Roption2").innerHTML = " ";
}
function showCartDetails()
{
window.open("./cart.workflow:details?to-popup=yes", "", "width=600,scrollbars=yes,resizable=1");
return false;
}
function showCartEmailDetails()
{
window.open("./cart.workflow:email?to-popup=yes", "", "width=600,scrollbars=yes,resizable=1");
return false;
}
| |
|
function myShowDetails(group, code)
{
if( window.showItemDetails ) {
showItemDetails(group,code);
} else {
var loc="/SEUILibrary/controller/e/web/LenovoPortal/en_US/catalog.workflow:item.detail"+ '?GroupID='+group+'&Code='+code;
document.location.href = loc;
}
}
function buy(item_id)
{
document.body.setAttribute('xxonunload' ,'');
var frm = document.productForm?document.productForm:document.mainForm;
if(document.getElementById("catalog-item") == null)
{
var ip = document.createElement("INPUT");
ip.type = "hidden";
ip.name = "catalog-item";
ip.value = item_id;
frm.appendChild(ip);
}
else
{
document.getElementById("catalog-item").value = item_id;
}
var url = '/SEUILibrary/controller/e/web/LenovoPortal/en_US/cart.workflow:AddConfigToDemoCart';
frm.action = url;
frm.submit();
return false;
}
|
첫댓글 쪽지요~