//打开子页面
var url=children_url;
window.open(url)
//刷新parent页面
var url=parent_url
function refresh(url){
if(window.opener){
if(window.opener.reload){
try{
window.opener.reload();
}catch(e){}
}
window.open('','_parent','');
window.close();
}else{
window.location.href=url;
}
}