var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3930222&docid=68133520&x=386',
		'title': '',
		'imageId': '68133520',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3930222&docid=68133527&x=386',
		'title': '',
		'imageId': '68133527',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3930222&docid=68133518&x=386',
		'title': '',
		'imageId': '68133518',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3930222&docid=68133516&x=386',
		'title': '',
		'imageId': '68133516',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3930222&docid=68133517&x=386',
		'title': '',
		'imageId': '68133517',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3930222&docid=68133515&x=386',
		'title': '',
		'imageId': '68133515',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3930222&docid=68133514&x=386',
		'title': '',
		'imageId': '68133514',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3930222&docid=68133513&x=386',
		'title': '',
		'imageId': '68133513',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3930222&docid=68133519&x=386',
		'title': '',
		'imageId': '68133519',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3930222&docid=68133522&x=386',
		'title': '',
		'imageId': '68133522',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3930222&docid=68133521&x=386',
		'title': '',
		'imageId': '68133521',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3930222&docid=68133524&x=386',
		'title': '',
		'imageId': '68133524',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3930222&docid=68133512&x=386',
		'title': '',
		'imageId': '68133512',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3930222&docid=68133523&x=386',
		'title': '',
		'imageId': '68133523',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3930222&docid=68133526&x=386',
		'title': '',
		'imageId': '68133526',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3930222&docid=68133525&x=386',
		'title': '',
		'imageId': '68133525',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3930222';

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