- alert("first line in global js");
- var getCookie = function(cname) {
- var name = cname + "=";
- var ca = document.cookie.split(';');
- for(var i=0; i<ca.length; i++) {
- var c = ca[i];
- while (c.charAt(0)==' ') c = c.substring(1);
- if (c.indexOf(name) == 0) return c.substring(name.length,c.length);
- }
- return "";
- };
- /*
- window.onload = function(){
- alert("window loaded");
- document.getElementById("neo_iframe").src = "http://10.224.15.51/neo";
- alert("src changed");
- };
- */
- var fun = function(){
- alert("function");
- };
- alert("global js file");