function popUp1(ID)
{
var xmlhttp = new ActiveXObject("Msxml2.XMLHTTP");
var strurl= "/MarginTip.aspx?ID="+ID;
xmlhttp.Open("Get",strurl, false);
xmlhttp.Send();
var sbody=xmlhttp.responseText;
http://window.open("/MarginTip.aspx?ID="+ID, "nn",'toolbar=0,scrollbars=1,location=0,statusbar=0,menubar=0,resizable=0,width=600,height=200,left = 362,top = 234,titlebar=no');
myWin=window.open("","DisplayWin","scrollbars,height=120,width=220");
myWin.document.write("عرض الحواشي");
myWin.document.write(sbody);
http://myWin.document.write("
خروج");
myWin.document.close();
}
function GotoPage(GUID)
{
PartID=GUID.split(" ")[0];
PageID=GUID.split(" ")[1];
obj=document.location.href;
x = obj.split("BookID");
if(x.length==1)
{
x = obj.split("SectionID");
}
y = x[1].split("&");
BookID = y[0].split("=")[1];
document.location.href="ShowByPage.aspx?BookID="+BookID+"&Part="+PartID+"&PageID="+PageID;
}