I seem to be having a problem with this script, it stops after alert 5.
var _v = 0;
var _v2 = 1;
function landscapeUpdate(){
alert("1");
var wrapperId = '#gameWindow';
alert("2");
var postFile = 'game_window.php';
alert("3");
_v++;
alert("4");
_v2++;
alert("5");
$.post(postFile, { v2: _v2 , v: _v}, function(data) {
alert("6");
$(wrapperId).html(data);
alert("7");
});
}