Code/Resource
Windows Develop
Linux-Unix program
Internet-Socket-Network
Web Server
Browser Client
Ftp Server
Ftp Client
Browser Plugins
Proxy Server
Email Server
Email Client
WEB Mail
Firewall-Security
Telnet Server
Telnet Client
ICQ-IM-Chat
Search Engine
Sniffer Package capture
Remote Control
xml-soap-webservice
P2P
WEB(ASP,PHP,...)
TCP/IP Stack
SNMP
Grid Computing
SilverLight
DNS
Cluster Service
Network Security
Communication-Mobile
Game Program
Editor
Multimedia program
Graph program
Compiler program
Compress-Decompress algrithms
Crypt_Decrypt algrithms
Mathimatics-Numerical algorithms
MultiLanguage
Disk/Storage
Java Develop
assembly language
Applications
Other systems
Database system
Embeded-SCM Develop
FlashMX/Flex
source in ebook
Delphi VCL
OS Develop
MiddleWare
MPI
MacOS develop
LabView
ELanguage
Software/Tools
E-Books
Artical/Document
history.js
Package: OSTS.rar [view]
Upload User: jqyjoan
Upload Date: 2018-02-02
Package Size: 1773k
Code Size: 1k
Category:
Ajax
Development Platform:
Flex
- // $Revision: 1.49 $
- // Vars
- Vars = function(qStr) {
- this.numVars = 0;
- if(qStr != null) {
- var nameValue, name;
- var pairs = qStr.split('&');
- var pairLen = pairs.length;
- for(var i = 0; i < pairLen; i++) {
- var pair = pairs[i];
- if( (pair.indexOf('=')!= -1) && (pair.length > 3) ) {
- var nameValue = pair.split('=');
- var name = nameValue[0];
- var value = nameValue[1];
- if(this[name] == null && name.length > 0 && value.length > 0) {
- this[name] = value;
- this.numVars++;
- }
- }
- }
- }
- }
- Vars.prototype.toString = function(pre) {
- var result = '';
- if(pre == null) { pre = ''; }
- for(var i in this) {
- if(this[i] != null && typeof(this[i]) != 'object' && typeof(this[i]) != 'function' && i != 'numVars') {
- result += pre + i + '=' + this[i] + '&';
- }
- }
- if(result.length > 0) result = result.substr(0, result.length-1);
- return result;
- }
- function getSearch(wRef) {
- var searchStr = '';
- if(wRef.location.search.length > 1) {
- searchStr = new String(wRef.location.search);
- searchStr = searchStr.substring(1, searchStr.length);
- }
- return searchStr;
- }
- var lc_id = Math.floor(Math.random() * 100000).toString(16);
- if (this != top)
- {
- top.Vars = Vars;
- top.getSearch = getSearch;
- top.lc_id = lc_id;
- }