var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4057731&docid=71193370&x=945',
		'title': '',
		'imageId': '71193370',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4057731&docid=71193371&x=945',
		'title': '',
		'imageId': '71193371',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4057731&docid=71193372&x=945',
		'title': '',
		'imageId': '71193372',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4057731&docid=71193373&x=945',
		'title': '',
		'imageId': '71193373',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4057731&docid=71193374&x=945',
		'title': '',
		'imageId': '71193374',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4057731&docid=71193375&x=945',
		'title': '',
		'imageId': '71193375',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4057731&docid=71193376&x=945',
		'title': '',
		'imageId': '71193376',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4057731&docid=71193377&x=945',
		'title': '',
		'imageId': '71193377',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4057731&docid=71193378&x=945',
		'title': '',
		'imageId': '71193378',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4057731&docid=71193379&x=945',
		'title': '',
		'imageId': '71193379',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4057731&docid=71193380&x=945',
		'title': '',
		'imageId': '71193380',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4057731&docid=71193381&x=945',
		'title': '',
		'imageId': '71193381',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4057731&docid=71193382&x=945',
		'title': '',
		'imageId': '71193382',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4057731&docid=71193383&x=945',
		'title': '',
		'imageId': '71193383',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4057731&docid=71193384&x=945',
		'title': '',
		'imageId': '71193384',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4057731&docid=71193385&x=945',
		'title': '',
		'imageId': '71193385',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4057731&docid=71193386&x=945',
		'title': '',
		'imageId': '71193386',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4057731&docid=71193387&x=945',
		'title': '',
		'imageId': '71193387',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4057731&docid=71193388&x=945',
		'title': '',
		'imageId': '71193388',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4057731&docid=71193389&x=945',
		'title': '',
		'imageId': '71193389',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4057731';

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