var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3904224&docid=67508687&x=457',
		'title': '',
		'imageId': '67508687',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3904224&docid=67508688&x=457',
		'title': '',
		'imageId': '67508688',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3904224&docid=67508689&x=457',
		'title': '',
		'imageId': '67508689',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3904224&docid=67508690&x=457',
		'title': '',
		'imageId': '67508690',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3904224&docid=67508691&x=457',
		'title': '',
		'imageId': '67508691',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3904224&docid=67508692&x=457',
		'title': '',
		'imageId': '67508692',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3904224&docid=67508693&x=457',
		'title': '',
		'imageId': '67508693',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3904224&docid=67508694&x=457',
		'title': '',
		'imageId': '67508694',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3904224&docid=67508695&x=457',
		'title': '',
		'imageId': '67508695',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3904224&docid=67508696&x=457',
		'title': '',
		'imageId': '67508696',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3904224&docid=67508697&x=457',
		'title': '',
		'imageId': '67508697',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3904224&docid=67508698&x=457',
		'title': '',
		'imageId': '67508698',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3904224&docid=67508699&x=457',
		'title': '',
		'imageId': '67508699',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3904224&docid=67508700&x=457',
		'title': '',
		'imageId': '67508700',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3904224&docid=67508701&x=457',
		'title': '',
		'imageId': '67508701',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3904224&docid=67508702&x=457',
		'title': '',
		'imageId': '67508702',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3904224&docid=67508703&x=457',
		'title': '',
		'imageId': '67508703',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3904224&docid=67508704&x=457',
		'title': '',
		'imageId': '67508704',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3904224&docid=67508705&x=457',
		'title': '',
		'imageId': '67508705',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3904224&docid=67508706&x=457',
		'title': '',
		'imageId': '67508706',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3904224&docid=67508707&x=457',
		'title': '',
		'imageId': '67508707',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3904224&docid=67508708&x=457',
		'title': '',
		'imageId': '67508708',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3904224&docid=67508709&x=457',
		'title': '',
		'imageId': '67508709',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3904224';

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";
	})
}
