﻿jQuery(document).ready(function() {
    jQuery('div.popup').each(function(i) {
        //var _class=this.class || this.getAttribute('class');
        var _class = jQuery(this).attr('class');
        if (_class && _class.length > 0) {
            var _c = _class.split(' ');
            for (var j = 0; j < _c.length; j++) {
                if (_c[j].indexOf('p_') == 0) {
                    var _p = _c[j].split('_');
                    var _px = _p[1];
                    var _py = _p[2];
                    this.style.left = _px + 'px';
                    this.style.top = _py + 'px';
                }
            }
        }
    });
});