}
}
+function inFrame() {
+ try {
+ return window.self !== window.top;
+ } catch (e) {
+ return true;
+ }
+}
+
+function navigateToURL(url, window) {
+ if (window == '_self') {
+ window.location = url;
+ return;
+ }
+ if (window == '_top') {
+ window.top.location = url;
+ return;
+ }
+ if (window == '_parent') {
+ window.parent.location = url;
+ return;
+ }
+ window.open(url, window);
+}
+
function supportHTML5Version() {
var prefixes = 'transform WebkitTransform MozTransform OTransform msTransform'.split(' ');
var div = document.createElement('div');
}
res = parseGet(res);
- res['junk'] = $ESAPI.encoder().encodeForJavaScript(junk+"");
+ res['junk'] = $ESAPI.encoder().encodeForJavaScript(junk + "");
return res;
}