var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3956155&docid=68729847&x=3046',
		'title': '',
		'imageId': '68729847',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3956155&docid=68729851&x=3046',
		'title': '',
		'imageId': '68729851',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3956155&docid=68729835&x=3046',
		'title': '',
		'imageId': '68729835',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3956155&docid=68729833&x=3046',
		'title': '',
		'imageId': '68729833',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3956155&docid=68729842&x=3046',
		'title': '',
		'imageId': '68729842',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3956155&docid=68729832&x=3046',
		'title': '',
		'imageId': '68729832',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3956155&docid=68729840&x=3046',
		'title': '',
		'imageId': '68729840',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3956155&docid=68729849&x=3046',
		'title': '',
		'imageId': '68729849',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3956155&docid=68729850&x=3046',
		'title': '',
		'imageId': '68729850',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3956155&docid=68729831&x=3046',
		'title': '',
		'imageId': '68729831',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3956155&docid=68729848&x=3046',
		'title': '',
		'imageId': '68729848',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3956155&docid=68729837&x=3046',
		'title': '',
		'imageId': '68729837',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3956155&docid=68729845&x=3046',
		'title': '',
		'imageId': '68729845',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3956155&docid=68729829&x=3046',
		'title': '',
		'imageId': '68729829',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3956155&docid=68729830&x=3046',
		'title': '',
		'imageId': '68729830',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3956155&docid=68729841&x=3046',
		'title': '',
		'imageId': '68729841',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3956155&docid=68729843&x=3046',
		'title': '',
		'imageId': '68729843',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3956155&docid=68729844&x=3046',
		'title': '',
		'imageId': '68729844',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3956155&docid=68729846&x=3046',
		'title': '',
		'imageId': '68729846',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3956155&docid=68729838&x=3046',
		'title': '',
		'imageId': '68729838',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3956155&docid=68729836&x=3046',
		'title': '',
		'imageId': '68729836',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3956155&docid=68729839&x=3046',
		'title': '',
		'imageId': '68729839',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3956155&docid=68729834&x=3046',
		'title': '',
		'imageId': '68729834',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3956155';

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