function ShowLoginDialog(){

document.getElementById('LoginContainer').style.display='block';
}
function ShowVideo(id){
var url="/ajax/GetVideoPlugin/?container=VideoContainer";
LoadUrl(url);
}
function ChangeCount(type){
if (type=="plus" &&  document.getElementById("Count").value<=100){
document.getElementById("Count").value++;

}
else if (type=="minus" &&  document.getElementById("Count").value>1){
document.getElementById("Count").value--;
}

}
function ChangeRecordCount(id,type,PriceType){
if (type=="plus" &&  document.getElementById("Count_"+id).value<=100){
document.getElementById("Count_"+id).value++;

}
else if (type=="minus" &&  document.getElementById("Count_"+id).value>1){
document.getElementById("Count_"+id).value--;
}

Count=document.getElementById("Count_"+id).value;
var url="/ajax/ChangeBasket/?id="+id+"&PriceType="+PriceType+"&quantity="+Count;
//alert(url);
LoadUrl(url);

}
function NullThis(obj){
obj.value="";

}
function PutToBasket(id,PriceType){
Count=document.getElementById("Count").value;
var url="/ajax/PutToBasket/?container=BasketMessage&id="+id+"&PriceType="+PriceType+"&quantity="+Count;
//alert(url);
LoadUrl(url);
document.getElementById('cartForm').style.display='none'
}
