var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3990519&docid=69647148&x=4853',
		'title': '',
		'imageId': '69647148',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3990519&docid=69647149&x=4853',
		'title': '',
		'imageId': '69647149',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3990519&docid=69647147&x=4853',
		'title': '',
		'imageId': '69647147',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3990519&docid=69647136&x=4853',
		'title': '',
		'imageId': '69647136',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3990519&docid=69647140&x=4853',
		'title': '',
		'imageId': '69647140',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3990519&docid=69647152&x=4853',
		'title': '',
		'imageId': '69647152',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3990519&docid=69647137&x=4853',
		'title': '',
		'imageId': '69647137',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3990519&docid=69647150&x=4853',
		'title': '',
		'imageId': '69647150',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3990519&docid=69647138&x=4853',
		'title': '',
		'imageId': '69647138',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3990519&docid=69647151&x=4853',
		'title': '',
		'imageId': '69647151',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3990519&docid=69647142&x=4853',
		'title': '',
		'imageId': '69647142',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3990519&docid=69647146&x=4853',
		'title': '',
		'imageId': '69647146',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3990519&docid=69647139&x=4853',
		'title': '',
		'imageId': '69647139',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3990519&docid=69647141&x=4853',
		'title': '',
		'imageId': '69647141',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3990519&docid=69647144&x=4853',
		'title': '',
		'imageId': '69647144',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3990519&docid=69647145&x=4853',
		'title': '',
		'imageId': '69647145',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3990519&docid=69647143&x=4853',
		'title': '',
		'imageId': '69647143',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3990519&docid=59270515&x=4853',
		'title': ' ',
		'imageId': '59270515',
		'alt' : ' ',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3990519&docid=59270516&x=4853',
		'title': '',
		'imageId': '59270516',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3990519';

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