var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3972442&docid=69083851&x=1429',
		'title': '',
		'imageId': '69083851',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3972442&docid=69083829&x=1429',
		'title': '',
		'imageId': '69083829',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3972442&docid=69083822&x=1429',
		'title': '',
		'imageId': '69083822',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3972442&docid=69083812&x=1429',
		'title': '',
		'imageId': '69083812',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3972442&docid=69083814&x=1429',
		'title': '',
		'imageId': '69083814',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3972442&docid=69083821&x=1429',
		'title': '',
		'imageId': '69083821',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3972442&docid=69083811&x=1429',
		'title': '',
		'imageId': '69083811',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3972442&docid=69083861&x=1429',
		'title': '',
		'imageId': '69083861',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3972442&docid=69083862&x=1429',
		'title': '',
		'imageId': '69083862',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3972442&docid=69083868&x=1429',
		'title': '',
		'imageId': '69083868',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3972442&docid=69083813&x=1429',
		'title': '',
		'imageId': '69083813',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3972442&docid=69083831&x=1429',
		'title': '',
		'imageId': '69083831',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3972442&docid=69083832&x=1429',
		'title': '',
		'imageId': '69083832',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3972442&docid=69083856&x=1429',
		'title': '',
		'imageId': '69083856',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3972442&docid=69083830&x=1429',
		'title': '',
		'imageId': '69083830',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3972442&docid=69083853&x=1429',
		'title': '',
		'imageId': '69083853',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3972442&docid=69083852&x=1429',
		'title': '',
		'imageId': '69083852',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3972442&docid=69083838&x=1429',
		'title': '',
		'imageId': '69083838',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3972442&docid=69083845&x=1429',
		'title': '',
		'imageId': '69083845',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3972442&docid=69083809&x=1429',
		'title': '',
		'imageId': '69083809',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3972442&docid=69083810&x=1429',
		'title': '',
		'imageId': '69083810',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3972442&docid=69083848&x=1429',
		'title': '',
		'imageId': '69083848',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3972442&docid=69083835&x=1429',
		'title': '',
		'imageId': '69083835',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3972442&docid=69083872&x=1429',
		'title': '',
		'imageId': '69083872',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3972442';

document.body.style.overflow = "hidden";
var closeElement = document.querySelector("#lightbox #close");
var closeLoadingElement = document.querySelector("#lightbox #closeLoading");

if (closeElement) {
	closeElement.addEventListener("click", function() {
		document.body.style.overflow = "auto";
	})
}

if (closeLoadingElement) {
	closeLoadingElement.addEventListener("click", function() {
		document.body.style.overflow = "auto";
	})
}
