var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4066609&docid=71404215&x=3549',
		'title': '',
		'imageId': '71404215',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4066609&docid=71404212&x=3549',
		'title': '',
		'imageId': '71404212',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4066609&docid=71404213&x=3549',
		'title': '',
		'imageId': '71404213',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4066609&docid=71404214&x=3549',
		'title': '',
		'imageId': '71404214',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4066609&docid=71404216&x=3549',
		'title': '',
		'imageId': '71404216',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4066609&docid=71404217&x=3549',
		'title': '',
		'imageId': '71404217',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4066609&docid=71404244&x=3549',
		'title': '',
		'imageId': '71404244',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4066609&docid=71404247&x=3549',
		'title': '',
		'imageId': '71404247',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4066609&docid=71404254&x=3549',
		'title': '',
		'imageId': '71404254',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4066609&docid=71404299&x=3549',
		'title': '',
		'imageId': '71404299',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4066609&docid=71404300&x=3549',
		'title': '',
		'imageId': '71404300',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4066609&docid=71404301&x=3549',
		'title': '',
		'imageId': '71404301',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4066609&docid=71404302&x=3549',
		'title': '',
		'imageId': '71404302',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4066609&docid=71404303&x=3549',
		'title': '',
		'imageId': '71404303',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4066609&docid=71404304&x=3549',
		'title': '',
		'imageId': '71404304',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4066609&docid=71404305&x=3549',
		'title': '',
		'imageId': '71404305',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4066609&docid=71404306&x=3549',
		'title': '',
		'imageId': '71404306',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4066609&docid=71404307&x=3549',
		'title': '',
		'imageId': '71404307',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4066609&docid=71404308&x=3549',
		'title': '',
		'imageId': '71404308',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4066609';

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