var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4041099&docid=70759092&x=523',
		'title': '',
		'imageId': '70759092',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4041099&docid=70759100&x=523',
		'title': '',
		'imageId': '70759100',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4041099&docid=70759107&x=523',
		'title': '',
		'imageId': '70759107',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4041099&docid=70759115&x=523',
		'title': '',
		'imageId': '70759115',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4041099&docid=70759113&x=523',
		'title': '',
		'imageId': '70759113',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4041099&docid=70759114&x=523',
		'title': '',
		'imageId': '70759114',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4041099&docid=70759118&x=523',
		'title': '',
		'imageId': '70759118',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4041099&docid=70759123&x=523',
		'title': '',
		'imageId': '70759123',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4041099&docid=70759093&x=523',
		'title': '',
		'imageId': '70759093',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4041099&docid=70759094&x=523',
		'title': '',
		'imageId': '70759094',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4041099&docid=70759095&x=523',
		'title': '',
		'imageId': '70759095',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4041099&docid=70759096&x=523',
		'title': '',
		'imageId': '70759096',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4041099&docid=70759111&x=523',
		'title': '',
		'imageId': '70759111',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4041099&docid=70759127&x=523',
		'title': '',
		'imageId': '70759127',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4041099&docid=70759124&x=523',
		'title': '',
		'imageId': '70759124',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4041099&docid=70759130&x=523',
		'title': '',
		'imageId': '70759130',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4041099&docid=70759136&x=523',
		'title': '',
		'imageId': '70759136',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4041099&docid=70759141&x=523',
		'title': '',
		'imageId': '70759141',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4041099&docid=70759091&x=523',
		'title': '',
		'imageId': '70759091',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4041099';

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