var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3929549&docid=68237563&x=3827',
		'title': '',
		'imageId': '68237563',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3929549&docid=68237544&x=3827',
		'title': '',
		'imageId': '68237544',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3929549&docid=68237564&x=3827',
		'title': '',
		'imageId': '68237564',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3929549&docid=68237550&x=3827',
		'title': '',
		'imageId': '68237550',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3929549&docid=68237549&x=3827',
		'title': '',
		'imageId': '68237549',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3929549&docid=68237547&x=3827',
		'title': '',
		'imageId': '68237547',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3929549&docid=68237560&x=3827',
		'title': '',
		'imageId': '68237560',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3929549&docid=68237565&x=3827',
		'title': '',
		'imageId': '68237565',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3929549&docid=68237559&x=3827',
		'title': '',
		'imageId': '68237559',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3929549&docid=68237553&x=3827',
		'title': '',
		'imageId': '68237553',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3929549&docid=68237554&x=3827',
		'title': '',
		'imageId': '68237554',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3929549&docid=68237555&x=3827',
		'title': '',
		'imageId': '68237555',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3929549&docid=68237556&x=3827',
		'title': '',
		'imageId': '68237556',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3929549&docid=68237557&x=3827',
		'title': '',
		'imageId': '68237557',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3929549&docid=68237552&x=3827',
		'title': '',
		'imageId': '68237552',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3929549&docid=68237562&x=3827',
		'title': '',
		'imageId': '68237562',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3929549&docid=68237548&x=3827',
		'title': '',
		'imageId': '68237548',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3929549&docid=68237551&x=3827',
		'title': '',
		'imageId': '68237551',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3929549&docid=68237561&x=3827',
		'title': '',
		'imageId': '68237561',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3929549&docid=68237545&x=3827',
		'title': '',
		'imageId': '68237545',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3929549&docid=68237546&x=3827',
		'title': '',
		'imageId': '68237546',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3929549&docid=68237558&x=3827',
		'title': '',
		'imageId': '68237558',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3929549';

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