var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4029774&docid=70451332&x=523',
		'title': '',
		'imageId': '70451332',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4029774&docid=70451338&x=523',
		'title': '',
		'imageId': '70451338',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4029774&docid=70451336&x=523',
		'title': '',
		'imageId': '70451336',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4029774&docid=70451354&x=523',
		'title': '',
		'imageId': '70451354',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4029774&docid=70451355&x=523',
		'title': '',
		'imageId': '70451355',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4029774&docid=70451348&x=523',
		'title': '',
		'imageId': '70451348',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4029774&docid=70451335&x=523',
		'title': '',
		'imageId': '70451335',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4029774&docid=70451349&x=523',
		'title': '',
		'imageId': '70451349',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4029774&docid=70451343&x=523',
		'title': '',
		'imageId': '70451343',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4029774&docid=70451341&x=523',
		'title': '',
		'imageId': '70451341',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4029774&docid=70451347&x=523',
		'title': '',
		'imageId': '70451347',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4029774&docid=70451358&x=523',
		'title': '',
		'imageId': '70451358',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4029774&docid=70451346&x=523',
		'title': '',
		'imageId': '70451346',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4029774&docid=70451356&x=523',
		'title': '',
		'imageId': '70451356',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4029774&docid=70451344&x=523',
		'title': '',
		'imageId': '70451344',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4029774&docid=70451331&x=523',
		'title': '',
		'imageId': '70451331',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4029774&docid=70451339&x=523',
		'title': '',
		'imageId': '70451339',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4029774&docid=70451351&x=523',
		'title': '',
		'imageId': '70451351',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4029774&docid=70451345&x=523',
		'title': '',
		'imageId': '70451345',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4029774&docid=70451352&x=523',
		'title': '',
		'imageId': '70451352',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4029774&docid=70451350&x=523',
		'title': '',
		'imageId': '70451350',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4029774&docid=70451333&x=523',
		'title': '',
		'imageId': '70451333',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4029774&docid=70451353&x=523',
		'title': '',
		'imageId': '70451353',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4029774&docid=70451340&x=523',
		'title': '',
		'imageId': '70451340',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4029774&docid=70451357&x=523',
		'title': '',
		'imageId': '70451357',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4029774&docid=70451337&x=523',
		'title': '',
		'imageId': '70451337',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4029774&docid=70451342&x=523',
		'title': '',
		'imageId': '70451342',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4029774';

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