function showNote(index,p){
var sent = document.getElementById("s"+index+"s");
if(sent != null){
GetPosition(sent);
}
var $p1 = $("<p>").css({"text-align":"center","line-height":"12px","height":"12px","font-size":"12px","margin":"2px"}).html("(点播业务,每首"+p+"元)");
var $p2 = $("<p>").css({"text-align":"left","line-height":"12px","height":"12px","font-size":"12px","margin":"2px"}).html("注意:");
var $p3 = $("<p>").css({"text-align":"left","line-height":"12px","height":"12px","font-size":"12px","margin":"2px"}).html("下载前3G用户请将手机接入点设为3Gwap;");
var $p4 = $("<p>").css({"text-align":"left","line-height":"12px","height":"12px","font-size":"12px","margin":"2px"}).html("2G用户请将手机设为uniwap,否则无法下载.");
var $p5 = $("<p>").css({"text-align":"center","font-size":"12","line-height":"20px","height":"25px","margin":"2px"}).html("<input οnclick='javascript:senttt();' type='button' value='确定'/> <input οnclick='javascript:hideSentNote();' type='button' value='取消'/>");
$("<div>").attr("id","priceNote").attr("name",index)
.css({"position":"absolute","top":top,"left":left,"height":"auto","width":"auto","z-index":"99","background-color":"#FFFFFF","border":"1px solid #000000","padding":"3px"})
.append($p1)
.append($p2)
.append($p3)
.append($p4)
.append($p5)
.show().appendTo(document.body);
var width = $("#priceNote").width();
var hh = $("#priceNote").height();
var height = sent.offsetHeight;
var scrolltop = document.getElementById("appList").scrollTop;
var tt = top+height/2-scrolltop;
if(tt+hh > document.getElementById("appList").clientHeight)
tt = top+height/2-scrolltop-hh;
$("#priceNote").css({"left":left-width-10,"top":tt});
}
function hideSentNote(){
$("#priceNote").remove();
}
function senttt(){
hideSentNote();
alert("ttttt");
}
var sent = document.getElementById("s"+index+"s");
if(sent != null){
GetPosition(sent);
}
var $p1 = $("<p>").css({"text-align":"center","line-height":"12px","height":"12px","font-size":"12px","margin":"2px"}).html("(点播业务,每首"+p+"元)");
var $p2 = $("<p>").css({"text-align":"left","line-height":"12px","height":"12px","font-size":"12px","margin":"2px"}).html("注意:");
var $p3 = $("<p>").css({"text-align":"left","line-height":"12px","height":"12px","font-size":"12px","margin":"2px"}).html("下载前3G用户请将手机接入点设为3Gwap;");
var $p4 = $("<p>").css({"text-align":"left","line-height":"12px","height":"12px","font-size":"12px","margin":"2px"}).html("2G用户请将手机设为uniwap,否则无法下载.");
var $p5 = $("<p>").css({"text-align":"center","font-size":"12","line-height":"20px","height":"25px","margin":"2px"}).html("<input οnclick='javascript:senttt();' type='button' value='确定'/> <input οnclick='javascript:hideSentNote();' type='button' value='取消'/>");
$("<div>").attr("id","priceNote").attr("name",index)
.css({"position":"absolute","top":top,"left":left,"height":"auto","width":"auto","z-index":"99","background-color":"#FFFFFF","border":"1px solid #000000","padding":"3px"})
.append($p1)
.append($p2)
.append($p3)
.append($p4)
.append($p5)
.show().appendTo(document.body);
var width = $("#priceNote").width();
var hh = $("#priceNote").height();
var height = sent.offsetHeight;
var scrolltop = document.getElementById("appList").scrollTop;
var tt = top+height/2-scrolltop;
if(tt+hh > document.getElementById("appList").clientHeight)
tt = top+height/2-scrolltop-hh;
$("#priceNote").css({"left":left-width-10,"top":tt});
}
function hideSentNote(){
$("#priceNote").remove();
}
function senttt(){
hideSentNote();
alert("ttttt");
}