var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4072735&docid=71596845&x=520',
		'title': '',
		'imageId': '71596845',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4072735&docid=71596842&x=520',
		'title': '',
		'imageId': '71596842',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4072735&docid=71596853&x=520',
		'title': '',
		'imageId': '71596853',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4072735&docid=71596846&x=520',
		'title': '',
		'imageId': '71596846',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4072735&docid=71596854&x=520',
		'title': '',
		'imageId': '71596854',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4072735&docid=71596844&x=520',
		'title': '',
		'imageId': '71596844',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4072735&docid=71596841&x=520',
		'title': '',
		'imageId': '71596841',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4072735&docid=71596840&x=520',
		'title': '',
		'imageId': '71596840',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4072735&docid=71596852&x=520',
		'title': '',
		'imageId': '71596852',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4072735&docid=71596859&x=520',
		'title': '',
		'imageId': '71596859',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4072735&docid=71596847&x=520',
		'title': '',
		'imageId': '71596847',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4072735&docid=71596848&x=520',
		'title': '',
		'imageId': '71596848',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4072735&docid=71596843&x=520',
		'title': '',
		'imageId': '71596843',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4072735&docid=71596851&x=520',
		'title': '',
		'imageId': '71596851',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4072735&docid=71596849&x=520',
		'title': '',
		'imageId': '71596849',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4072735&docid=71596850&x=520',
		'title': '',
		'imageId': '71596850',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4072735&docid=71596855&x=520',
		'title': '',
		'imageId': '71596855',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4072735&docid=71596857&x=520',
		'title': '',
		'imageId': '71596857',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4072735&docid=71596856&x=520',
		'title': '',
		'imageId': '71596856',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4072735&docid=71596858&x=520',
		'title': '',
		'imageId': '71596858',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4072735';

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