function copyQueryString(){
	//Repeat query string to all links
	var qry=window.location.href;
	var i = qry.indexOf("?");
	if (i>-1){
		qry=qry.substring(i);
	} else {
		qry="";
	}		

	if(document.links && qry!=""){
		for(i=0; i<document.links.length; i++){
			if (document.links[i].href.indexOf("javascript")<0){
				if (document.links[i].href.indexOf("#")<0){					
					if (document.links[i].href.indexOf("?") > -1) {
						document.links[i].href += "&"+qry.substring(1);
					} else {				
						document.links[i].href +=qry;
					}
				}
			}
		}	
	}	
	return true;
}
