/* -------------------------------------------- 
	(C) Copyright Blog-City Ltd, All rights reserved.
 --------------------------------------------  */

function signupWindow(blogDomain, blogSponsor){
  var height = 470;
  var width = 540;
  var str = "scrollbars,status=no,resizable=no,height=" + height + ",innerHeight=" + height;
  str += ",width=" + width + ",innerWidth=" + width;
  if (window.screen) {
	  var ah = screen.availHeight - 30;
    var aw = screen.availWidth - 10;
    var xc = (aw - width) / 2;
    var yc = (ah - height) / 2;
    str += ",left=" + xc + ",screenX=" + xc + ",top=" + yc + ",screenY=" + yc;
  }
  uristring = "?doman=" + escape(blogDomain) + "&sponsor=" + blogSponsor;
  top.blogWindow = window.open("http://server1.blog-city.com/common/signup/signup.cfm" + uristring, "BlogWindow", str);
  return false;
};
